www40
www40

Reputation: 285

How to use a library on SAPWebIDE

i am trying to use the openui5-googlemaps library, but the WebIDE looks at a different path than my SAP-System then the app is deployed.

libs: ["sap.m", "sap.ui.layout", "sap.ushell", "openui5.googlemaps"],

my SAP-System looks at path resources/openui5/googlemaps.
However this does not work in the WebIDE.
Any ideas why and how i can fix it?

Thanks

Upvotes: 1

Views: 1347

Answers (1)

Matti.b
Matti.b

Reputation: 360

Either change the path, or load via your index.

API With Example

In Index

~ update may 2017 ~ You can now use the manifest to add libraries:

"resources": {
    "css": [
        {
            "uri": "css/style.css"
        },
        {
            "uri": "css/croppie.css"
        }
    ],
    "js": [
        {
            "uri": "library/croppie.min.js"
        }
    ]

Upvotes: 0

Related Questions