cancel
Showing results for 
Search instead for 
Did you mean: 

Spreadsheet in SAPUI5

vincent_balraj3
Explorer

Hi

I want to make use Spreadsheet library in my eclipse application.

If I use source code like below in index file its loading successfully.

"src="https://sapui5.hana.ondemand.com/1.50.5/resources/sap-ui-core.js""

But, If I change it like below, it's not loading. May I know the reason for this.

"src="resources/sap-ui-core.js""

Regards

Vincent

Accepted Solutions (0)

Answers (7)

Answers (7)

vincent_balraj3
Explorer
0 Kudos

Hi Jun,

Please find attached screenshots of my project structure.

index2018-12-31-at-84157-am.png

controller2018-12-31-at-84223-am.png

junwu
Active Contributor
0 Kudos

why can't u just share you folder structure and code?

vincent_balraj3
Explorer
0 Kudos

Hi Srikar,

I am developing this using eclipse neon IDE.

Regards

Vincent

vincent_balraj3
Explorer
0 Kudos

Hi Amy,

Greetings,

Same error I am getting for below code as well.

src="../../resources/sap-ui-core.js"

Regards

Vincent

Srikar
Active Participant
0 Kudos

Hi,

Can I know from where you are developing the apps? I mean you are using any local host WEB IDE or from HANA CLOUD WEB-IDE.

amy_li04
Explorer
0 Kudos

Hi Vincent, how about src="../../resources/sap-ui-core.js"? Maybe you can upload your project structure here...

vincent_balraj3
Explorer
0 Kudos

Hi Jun,

Thanks for your reply.

I have done as per your suggestion, still it's showing error.

For: src="../resources/sap-ui-core.js"

Error: 1.png

For: src="./resources/sap-ui-core.js"

Error: 2.png

Regards

Vincent

junwu
Active Contributor
0 Kudos

depend on your folder structure....

you may add ../ before resources/sap-ui-core.js

just check the network tab to find the error.