Skip to Content

Custom control library in Portal page template?


Is it possible to reference a custom control library from a portal pageTemplate?

For example, we have a library deployed on HCP (as an HTML5 app) which we can reuse from other HTML5 apps by adding an additional route in the neo-app.json:

"path": "/resources/custom/lib",
"target": {
"type": "application",
"name": "customlib",
"entryPath": "/custom/lib"

And it works fine.

Bu in a site template, it seems the neo-app.json is not used and when adding a lib dependency in the manifest.json of the pageTemplate, at runtime it tries to get the library from /sap/ui5/1/custom/lib/...

Add comment
10|10000 characters needed characters exceeded

0 Answers