Displaying a file of the previous step

1
0
-1

Hello,

I have got a process, which has a step, where you can upload a file (different person) and I want to display this file in the next step.

Can you please help me?
If I use the variable of the file only the path to the file is displayed.
Is it possible to display the file or make it possible for downloading?

Thanks.
Marlene

1 answer

1
0
-1
This one is the BEST answer!

If you already have a path to the file you can simply insert the Link widget and set url to "/bonita/portal/{{documentUrl}}". You can also create you own HTML e.g displaying image with img tag in the Text widget.

Comments

Submitted by marlene.sonnlei... on Fri, 05/27/2016 - 18:05

Thanks, I save the file to this variable: umfeldanalyse.analysedatenUmfeld
So I tried to open the file in the next process step (and next ui designer page) with a link and in the URL field I filled in this: /bonita/portal/{{umfeldanalyse.analysedatenUmfeld}}
Error: 404

Can you please help me? I can't insert the path of the file, because the file and path are variable.

Submitted by mmichalak on Mon, 05/30/2016 - 11:52

You can get the document URL with REST API as shown in Retrieve the case context section at http://documentation.bonitasoft.com/bpm-api-849

Notifications