Quantcast
Viewing all articles
Browse latest Browse all 6412

Problem creating a widget from a sap ui5 web app

Hello,

 

I'm trying to create a widget from a sap ui5 web app.

I used this guide to do so: https://help.hana.ondemand.com/cloud_portal/frameset.htm?50f980ff9b6a46a7a906bf73f3d5e23a.html.

I had some problem with location of the spec.xml file, but eventually I received the content of my index.html inside the widget.

The problem is that in one of the views there is a carousel with pictures which works totally fine in web app mode, but in widget I can't see any of those pictures.

This is my project's tree (it was built as sap ui5 web app):

Image may be NSFW.
Clik here to view.
tree.PNG

And these are paths to the pictures in carousel (the original path which works in web app mode is the second one):

Image may be NSFW.
Clik here to view.
paths.PNG

And these are paths to those pictures as they appear in the widget:

/portal/shindig/gadgets/somecrazystuff/img/img3.jpg

/portal/shindig/gadgets/img/img2.jpg

 

What's the catch here? Thank you.


Viewing all articles
Browse latest Browse all 6412

Trending Articles