on 05-26-2016 11:26 PM
Hi Ptharso,
I don't think this scenario will work.
Since, the application flows like this:
index.html --> Component --> manifest.json
manifest.json file will be accessed only when the component is loaded. To load the component, we have to provide the name space where the file exists and needs to be defined in resource roots.
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I'm really not sure if I got your question correctly or if I understood your reason for going this way. Do you want to change the resourceroot after your app has been bootstrapped? Or do you only want to put the name of your resoureroot in a different file, like a properties-file?
Anyway, maybe this link will help you on your way:
https://help.sap.com/saphelp_uiaddon10/helpdata/en/9c/5a9619f69f4a819f91fc89d9ff56f1/content.htm
Kind Regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is only in Sap WEB IDE.... not execution time.... i wish NOT to replace the text of workspaceroot place in ALL pages.... i want to put the name of your resourceroot for example (opensap.002_ApplicationFirst) in several different files, but editing ONLY THE manifest file "id" propertie.
See this image but this ido NOT WORKS... I DONT KNOW how to do this... thanks for your attention
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, the workspace root in index.html already applies to all pages in your app. It is useful for stand-alone apps so the relative path is defined. If I understood your question, you dont want to define it in index.html but somewhere else? I am not sure if is possible afaik this belongs to the bootstrap initiation of the app.
kind regards,
Gabriel
Hy friend, i think you dont understand.... In several pages i need (include index.html for example) to change the workspace root but when i want to change the app to another directory, i need to change ALL the pages.
I wish a solution that is necessary to chance only ONE page and ALL the pages will be correct, like in manifest.json for example.
thanks for your attention
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.