Skip to Content
Former Member
Aug 09, 2016 at 05:51 AM

How to access named Models defined in manifest.json ?


Hi Experts,

I have created a custom UI5 application using HCP WebIDE. I create models in manifest.json. Models are getting executed and I am able to see the data in controls.

My question is how can I access named models in my controller ? For example : In below screen shot I have defined a model called "countrySet". I want to access this named model in controller of my view.

Do I need to set Model/SRV in component.js ? If yes, how to do it ?

Thanks and Regards



manifest.JPG (42.9 kB)