How to upload an excel from DSP to IS service

Hi,

I have a requirement to upload an excel from the local file system from the dsp which have to trigger a service inside IS which will read the excel and convert to inputstream. This inputstream will be given as the input to workbook (Jexcel api) to convert into document type.

The code is as follows

do i need to specify enctype=“multipart/form-data” in my html.

How I need to code a java or Flow service as to extract the data from this excel…

If any one have the sample code for this requirement… ? kindly help me out in solving this.

Regards
Hiubert

Quick answer: Yes. Add <enctype=“multipart/form-data”> to your form element.

As to the coding, there are a number of posts on both this site and Advantage that cover this topic.

Do a search on either site for “upload file”.