cancel
Showing results for 
Search instead for 
Did you mean: 

Local or Web Resources for OPENUI5

Former Member
0 Kudos
333

Hello Everyone, i had this doubt about OpenUI5, i'm following the walkthrough of this site Step 10: Descriptor for Applications

and everything was ok, until i reach step 10, i was using the "local" version of the resources folder (i downloaded it form here: OpenUI5 - Download) , with that i was seting in the src line of my index file this: src="resources/sap-ui-core.js" but, in the online file is presented like this

src="https://openui5beta.hana.ondemand.com/resources/sap-ui-core.js", i understand that this is the path to the resources file, maybe it's because i'm new with OpenUI5 but i think that i must work, i copy the exact code from the site, so my doubt is: it's mandatory to use the Web reference, or i can use the local one?, is there any line of configuration that i'm missing?, maybe something in the mainfest file?.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Looks like my pc wasn't loading the changes i was making (i think that maybe was the cache) from now it's working just fine with the local version, (i'll keep it like that because not always i have internet access), i continue the walkthrough, thanks everyone who took the time to read this, have a nice day.

0 Kudos

"it's mandatory to use the Web reference, or i can use the local one?, is there any line of configuration that i'm missing?, maybe something in the mainfest file?"


Hi Jose,


did you get the answer? I am facing the same question, i tried to use local openui5 resources, in case that if i can not access internet. but i could not figure out the correct reference to local resources.


regards,

Leon

Former Member
0 Kudos

Hi Leon, this is how i have the folders for the app, the one that says "resources" i'ts the OpenUI5 local, also in your index the src line must be: src="resources/sap-ui-core.js"

for reference, i'm using appserv 2.6.0 and all my proyects/apps are stored in the www folder, also for each proyect i have one folder, so when i test them i look for them in this way: localhost/AppName/index, if you want to separete the "normal" html/php files you have from the openui5 ones, you can create a main openui5 folder and then you can search for your index like this: localhost/openui5/AppName/index.

I hope this info helps you.  Have a nice day

Answers (0)