Skip to Content

Multiple odata binding to value help using fragments

Hi,

I am a fresher in UI5.

I am facing an issue while binding multiple(4) odata services.In this scenario only 3 of the odata services is binding to their respected value help.

My form has 4 fields with 4 odata services to bind.Then can't we bind multiple services to different value help.

Please HELP!

Regards,
Shwetha

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Mar 05 at 08:44 AM

    Hi,

    please see the syntax for multiple oData model binding.

    Eg.

    <Select id="category" items="{model1>/Categories}">
    					<items>
    						<core:Item text="{model1>CategoryName}" key="{model1>/CategoryID}"/>
    					</items>
    </Select>
    <Select id="product" items="{model2>/Products}">
    					<items>
    						<core:Item text="{model2>ProductName}" key="{model2>/ProductID}"/>
    					</items>
    </Select>
    

    Best regards

    Johannes

    Add comment
    10|10000 characters needed characters exceeded