on 2021 Oct 06 12:54 PM
Dear Community,
I have the following requirement:
In the list report I have to show a list of item-types (Geraetetyp-annotations.cds) and on the detail page I need to show a list of items being of the choosen item-type (Geraet-annotations.cds).
When I call my annotations via "cds watch" the look individually as I want them to look, but they are not conneced.

Geraetetyp-annotation.cds (item-type):

Geraet-annotation.cds (item):

My Question: What do I have to do, to only show items of the selected item-types in the object page? Can we filter that?
Thank you already,
Jasmin
Request clarification before answering.
Hello Jasmin,
it's hard to say without seeing your service. Please make sure your service have the associations between the two entities defined correctly, as e.g. between the Travel and Booking entities in this project schema:
https://github.com/SAP-samples/cap-sflight/blob/main/db/schema.cds
Best Regards,
Mariana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mariana,
thank you! The example has brought me a bit further.
With kind regards,
Jasmin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.