Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Problem creating a widget from a sap ui5 web app

$
0
0

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):

tree.PNG

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

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



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>