on 08-18-2017 12:07 PM
This has fragments for views.
Please help.
Useful reference: UI5 Demokit
It is to refer to the folder in which all your views, controllers, fragments etc. are stored. Once mapped, you use the relative path to the inside folders, which invoking the views/controllers/fragments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
an alternate solution... this is something I have done on my controller.js files
jQuery.sap.require("path.to.your.other.jsLibrary");
Another option is if you use the script tag in your html and reference the external library.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I tried the same in my controller as well as component, but i get the result as undefined.
jQuery.sap.registerModulePath("sap.fcg.mdg.lib.bp", "/sap/bc/ui5_ui5/sap/MDG_LIB_BP/sap/fcg/mdg/lib/bp")
undefined
The standard app has exactly the same path and is able to load the library, but i am not 😞
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.