What product/components do you use and which version/fix level are you on?
Is your question related to the free trial, or to a production (customer) instance?
What are you trying to achieve? Please describe it in detail.
Hi, I am using cumulocity tutorial template and I have created my widget in that. I am trying to load up an image in that, but it is not able to display it. I have tried all the paths and different file formats but none of them are working. Can you tell me what path to give for an image to get it displayed. The app runs on http://localhost:9000/apps/widget-app/#/named-dashboard
Please suggest me some solution regarding the same
The images are not directly part of your webpack bundle.
You can configure e.g. the Webpack copy plugin using this application option: Web SDK documentation to make them part of your bundle. You could e.g. copy an asset folder to your build this way.
Other approaches that should also work are to require/import the image in your typescript file and assign it to the src attribute of your image tag.
Or you can try to set the image e.g. as a background in your stylesheet.
I tried all the methods above except the GitHub one. Both of them aren’t working, also I don’t know how to use that GitHub one. If there is any working example for the same, please point out that for me. Also if you could explain it a bit, it would be great because I didn’t get the use of using that webpack like why would I want to transfer my folder of images, how would it load images on my local host environment.