Skip to Content

Custom control library in Portal page template?

Aug 25, 2017 at 10:26 AM


avatar image


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/...

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers