Use an image that is in the resources folder of the process

Hi.

I add an image in the resources folder of my process.
In the Application / Resources tab, the path of this file is “Resources/signature_files/signature.png”.
I try to use this file in a html widget.
I use this code


When I run the process, the file is not found :
“NetworkError: 404 Introuvable - http://localhost:8081/bonita/portal/Resources/signature_files/signature.png

What is the good path I need to use to load the file ?

I try :
Resources/signature_files/signature.png
signature_files/signature.png
resources/signature_files/signature.png
Application/Resources/signature_files/signature.png
application/Resources/signature_files/signature.png
application/resources/signature_files/signature.png
Application/resources/signature_files/signature.png

None of them is good.

PS : I use Bonita 6.3.7

This worked for me as a starter…

Then I tried to add an image to the default images folder, add worked but

Didn’t work.

Something is very amiss here as this should work.

I suggest raising a bug notice,

regards

Thanks for your answer.
I open a bug : https://bonita.atlassian.net/browse/BBPMC-263

Hi,

This is not a bug but missing documentation on our side.
Please see the details on how to achieve this in the Jira ticket.

Cheers,