Accessing an uploaded document with API

1
0
-1

Hi,

Being fairly new to Bonita, I'm stuck trying to retrieve a document. In the upload form, I've created a document variable to store my input document. In another form, I'm trying to use the context information of the document to get a download link for the file. So far, I have found the "url" field (something like 'documentDownload?fileName=FILENAME&contentStorageId=13') but I have no idea how to use this url.

Can somebody please help me ?

Using Bonita 7.0.1

2 answers

1
+1
-1
This one is the BEST answer!

Hi, you can user a widget and in the url write: /bonita/API/{{context.YOURDOC.url}}

Regards

Francesco

1
0
-1

Thank you for your help, I cannot find any documentation about the API urls.

Notifications