page_testupload

Pierre-yves Monnet's picture

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

Issues

Downloads

Total downloads: 1 016
Version BonitaBPM Version Post date Download Link
1.1 7.x 2016-Aug-17 Download
539 downloads
Release note
1.0 7.x 2016-Aug-12 Download
477 downloads
Release note
Testing
Notifications