on 01-22-2018 1:32 AM
Hello experts,
I am trying to understand where (using UI5 template application) the initial OData instantiation happens. Currently I have a View that was bound to OData entity set via the wizard and I cannot find a code piece anywhere in the application that would init OData model and send an initial request to a backend.
Everything works - I just want to understand the architecture a bit more (and reuse the standard code in other place in an app).
Any input is greatly appreciated!
Best regards,
Ilja.
Well, actually the SDK itself performs the binding for ALL models configured in manifest.json file automatically. If a breakpoint is placed in ODataModel.js class - it is possible to trace the Call Stack.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ilja Mihailovs,
In SAPUI5, mostly the initial OData instantiation happens at the manifest.json file, you give the OData service URL and other parameters such as default binding mode, local URI, etc. while declaring the OData. Go through the below links for more information :
Regards,
Arjun Biswas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.