Skip to Content

How to add libraries into menifest in sapui5

Apr 19, 2017 at 04:29 PM


avatar image

I've deployed a sapui5 project on cloud foundry from webide. it run fine when i just click on run localy. but it gives me this error when i'm deploying on cloud foundry. I think its because i'm using a custom control which is using some additional js files and. So i want to ask how i can add this component information into menifest file.

menefest.png (121.1 kB)
code-editor.png (20.2 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Srikanth KV Apr 19, 2017 at 04:48 PM

in manifest add in the section sap.ui.5.resources -->here you can attach individual JS files...

Show 3 Share
10 |10000 characters needed characters left characters exceeded

I've done like that. but still error is there

"openSourceComponents": [ 
                "name": "sap/ui/codetools/CodeEditor.js",
                "packagedWithMySelf": true 


try using "resources" in sap.ui5

    "sap.ui5": { //SAPUI5-specific attributes - in sap.ui5 namespace

            "js": [{
                "uri": "sap/ui/codetools/CodeEditor.js" //mandatory

I've tried this one. it also not working

menifest.png (118.9 kB)