Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9190

OData Binding with XML View

$
0
0

Hello Experts,

 

I am creating an application with Master Detail (SplitApp) Template as proposed in "Building ui5 application Fiori style'.

 

In the same, I am using a odata model for binding.

 

Now, I am using: oView.setModel(oDataModel, 'MyModel') rather than oView.setModel(oDataModel) as in the example.

 

In my master view where list binding is done I have to change it to MyModel>/listelementset (1st screenshot)

 

and for all the master field elements I use: {MyModel>fieldName} (2nd screenshot)

 

in Detail, however after sending the context from master to detail, I cant seem to get the field name which I need to set in the title of mydetail page (3rd screenshot).

 

Here are some screenshots:

 

 

Any help to resolve this would be appreciated.

Thanks & BR,

Ankit


Viewing all articles
Browse latest Browse all 9190

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>