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

1
0
-1

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

<img src="Resources/signature_files/signature.png"></img>

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

1 answer

1
0
-1

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

Comments

Submitted by yannick.lombardi on Mon, 04/20/2015 - 09:07

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

Submitted by philippe.ozil on Tue, 04/21/2015 - 17:16

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,

Notifications