Expressions in Composed Documents

When working with Composed Documents, the entire Composed Document is present in the frontend.

Expression Cells in the Form can be used to navigate through the context of the entire composed document. For example, in TeamWithPersonsAndContract_CFM from the advanced workspace I can model the following expression:

kontext(TeamPerson, delimiter= ": "){
    kontext(Person){
        [Name]
    }
    kontext(PersonContract, delimiter= ", "){
        kontext(Contract){
            [StartDate]
            case [EndDate] != "" {
                " - " [EndDate]
            }
        }
    }
}

Simple_Model_Editor_WSQIBUTMfT

However, Bindings do not see the whole context as the reference either the source Document Model (e.g. Person_DM) or the ___generated Document Model (e.g. TeamPerson_Person____generated). This means that you can only model an expression based on the data structure described in the Document Model used by the Overview Model. Based on the example above, this means that I cannot show the Contract information next to a linked Person using an expression.

Is there any way to customize the binding so that I can use expressions that consider the whole composed document

Hi @malcolm-silver-ice, it is currently a limitation of the binding modeling, the expression of the binding overview only refer to the generated document model, which only aware its own depth.

There could be some workaround with the Form Engine expression and controls composition which can help show the needed information else where outside the binding, but I would not say it is a sufficient solution :slight_smile: We should definitely have a requirement ticket for this.

Would this be part of A12-16178?