page_testupload

Show an example to upload a file to a case with a REST API

screenshoot_testupload.jpg

This page show you how to implement a File Upload in your Custom page.

Define a process with a Document variable, and create a case in this process. So, you need to have a the case id and the Document Name.

upload : then, first upload a new file on the server using ngUpload. The BonitaEngine will return you a temporary file name.
Assign : the file name is give in the Assign part. Here the tips : firs call, a POST has to be done.
After, to update the content, a PUT has to be done, but with the documentId (which is an internal information), so a first call to get this documentId is necessary.

Category: 
Licence: 
LGPL v3

Downloads

Total downloads: 2 726
Version BonitaBPM Version Post date Download Link to content
1.1 7.x 2016-Aug-17 Download
1457 downloads
Release note
1.0 7.x 2016-Aug-12 Download
1269 downloads
Release note
Notifications