on 01-28-2020 12:38 PM
Hello experts,
I'm currently trying to have a custom SAPUI5 library properly imported and used by an array of applications deployed in the Fiori Launchpad of an S/4HANA system.
Now, what I have done was to copy the library files into a corresponding "lib" folder and reference them in the manifest.json, as well as in the corresponding view controllers.
Next, I deployed the application that uses the library, registered it with the Fiori Launchpad and tried to run the app.
App runs fine, but if I check the console I have the following errors:
What puzzles me is that the runtime looks for the library-preload.js into the files of another SAPUI5 app (the library used is also deployed as an SAPUI5 app), as opposed to looking for it in the resourceRoots defined in manifest.json.
Is there a reason why this happens? I would expect for the runtime of the Fiori Launchpad to consider manifest.json and look for library-preload.js in ./lib/com/customlibrary/library-preload.js.
Thank you and have a good day!
SePo
Hi
Check this information:
Descriptor for components inside libraries
Descriptor dependencies to libraries
An example library
Example library with libraries
Saludos
Raquel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.