Upload a "xls/txt" File & parse the same



We are using Bonita 6.4 on Unix box. We need to upload xls./txt file after browsing & then parse data to insert into DB. What are way to do the same, can we use Bonita File uploader, if yes how can we access the file stored inside bonita to read the content. Or there is any other better way ? Please note the the file would be browsed from user's desktop, while the process is deployed on Unix box.

Regards Subhadeep


Submitted by Sean McP on Wed, 07/22/2015 - 17:20

Yes you can do this,

You should read the chapter on documents in the documentation ( http://documentation.bonitasoft.com/documents-0 ) which tell you how to process the file, same as in Java really:

Step 1: Use file loader, click submit output operation save file to document variable Step 2: use ByteInputStream to read the file and parse as normal,


No answers yet.