Skip to Content
0
Former Member
Aug 08, 2016 at 09:21 AM

Work with embeded json model in manifest.json

127 Views

Hey guys,

i succesfully connected my Backend-Service with a JSON-Model stored in my manifest. So i can fill a certain table with the backend data.

But now i try to pass dynamically some parameters from sapui5 (Frontend) to the connected service in the backend via the ?$filter.

So how can i call the initialized model in the manifest within my JavaScript code and pass their certain parameters to actualize the model depending on the parameters.

I tried to work with - modelName.loadData(serviceURI) - but without success. And i think their should be a better way to solve this problem.

Thanks for your help!

Best Regards

Patrick