Hi!
I want to add a table view binding to my CDM Form.
The relation is 1-to-many: One Contract has many bookings.
However, only the “to-1” relationships can be selected in the SME Binding. The relation to the bookings is missing from the selection.
According to the A12 documentation (GetA12) this should be possible.
Do I misunderstand this feature or am I doing it wrong?
Hey @tobias-amber-boulder,
For CDM based Form Models, the Bindings should be created by drag&dropping the respective Repeatable Groups (Relationship Elements) from the Data Models view:
(instead of using the Add Binding of a Screen/Sections context menu)
My bookings are not part of the CDM.
The task is to open the booking in the same form as I open it from the booking overview. I think following the relation would be the easiest way doing this. Right now I also look into using the CDM Child Action instead.
Hi @tobias-amber-boulder
To visualize and open your Bookings in the CDM based Form, the Contract ↔ Booking relationship needs to be part of the CDM. This is true for both modeling cases (Modeling on the Detached Repeat Screen and using a CDM Child Action).
I think the background to this is the way that Composed Documents are loaded. Your root document and all the linked documents described by the CDM will be loaded when you load the form. This happens in one step either loading from the LOAD_DOCUMENT_GRAPH (in 2024.06) or with the document-graph projection in Query API.
OK. Thank you for clarification!
For me the Child Actions did what I needed it to do. 