cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Fullapplication template - Missing sandbox.js

Former Member
0 Kudos

While trying to run a standalone version of the Fiori Fullscreen application template, we found that we are missing index.html.

We copied the index.html from localindex.html.

When we do this, we get below error that it is failing to load the resource sandbox.js:

http://xxxxxx:8000/sap/bc/ui5_ui5/sap/ztesst/test-resources/sap/ushell/bootstrap/sandbox.js

I could identify that the sandbox.js in the below MIME folder:

sap -> public -> bc -> ui5 -> applications -> demokit -> 1.26 ->

test-resources -> sap -> ushell -> bootstrap -> sandbox.js


Please let me know where we need to copy the sandbox.js in order for the above url to work.


Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I could find the sandbox.js and other required files from below mime folder.

sap -> public -> bc -> ui5 -> applications -> demokit -> 1.26 ->

test-resources -> sap -> ushell -> bootstrap -> sandbox.js


I just copied them directly to index.html and started refering them.

It worked as a standalone.

But still looking for a better solution.


Regards

Rakesh

Answers (1)

Answers (1)

Former Member
0 Kudos

I could identify that the sandbox.js in the below MIME folder:

sap -> public -> bc -> ui5 -> applications -> demokit -> 1.26 ->

test-resources -> sap -> ushell -> bootstrap -> sandbox.js

Can you post how do you load the sandbox.js ? As per your findings, you'll have to load as below,


<script src="sap/public/bc/ui5/applications/demokit/1,26/test-resources/sap/ushell/bootstrap/sandbox.js" id="sap-ushell-bootstrap"></script>

Former Member
0 Kudos

Thanks Shakthi.

i tried that but get below error.

Failed to load resource: the server responded with a status of 404 (NOT FOUND)

I also imported the sandbox.js to the bsp application as a mime object and tried to use that.

Even though the JS loaded, the pathing of other resources got affected and i got another error saying that some Adapter.js is not found.

I need to know where this file was supposed be in the MIME repository.

Please let me know if anyone have tried a standalone version of full application Fiori template.

Thanks

Rakesh