1 year ago
#334735
on1zuka
SAPUI5 - HTML5 Application - Use function in manifest.json
I have this really basic SAPUI5 application created from the template available in SAP Business Application Studio.
I have defined a custom resource in the manifest.json
which executes a javascript function:
{
"sap.ui5": {
"resources": {
"js": [
{
"uri": "lib/myFunction.js"
}
],
"css": [
{
"uri": "css/style.css"
}
]
}
},
"...": "..."
}
Is there a way to dynamically define the resource
to be used in the application bootstrap?
For example, in my "lib" folder, I have different *.js
files:
Is there a way to choose a single *.js
to be used?
sapui5
manifest.json
0 Answers
Your Answer