Skip to Content
1
Aug 09, 2018 at 06:57 AM

Add Custom SAPUI5 Library to SAP Cloud Platform Fiori Launchpad (Portal Service)

1015 Views

I've created a custom SAPUI5 library with the SAP Web IDE and deployed the library to the SAP Cloud Platform. The library is used by multiple SAPUI5 applications and works perfect when the apps are launched from the SAP Web IDE. The dependency to the library is defined in the manifest.json:

"dependencies": {"libs": {"custom.library"}: {}}}

Now I've registered the SAPUI5 applications to the SAP Cloud Platform Fiori Launchpad. I can start the Launchpad and see the tiles for the apps. But when I start an app the following error occurs:
Error: failed to load 'custom/library/library.js' from https://sapui5.hana.ondemand.com/1.52.17/resources/custom/library/library.js: 404

How can I register the custom UI5 library to the Fiori Launchpad?