I'm using element binding in XML to get data from an OData service in the controller:
{myModel2>/oData/ProdOrdSet('123456789')/Gmein}
The whole thing should now work with dynamic numbers instead of 123456789
.
I started with the following approach:
{myModel2>/oData/ProdOrdSet('{myModelLD>/Aufnr}')/Gmein}
So another JSON Model and another element in the first. Unfortunately this did not work, kindly help?
Try to get the ID in a local variable and form the binding path to bind. Instead of this
try binding as below: