Skip to main content
New Participant
August 10, 2022

Reading EXCEL File from Adaptive Form

  • August 10, 2022
  • 3 replies
  • 2283 views

We are trying to reading an Excel file with one column data from an Adaptive Form into an backend AEM servlet. But we are facing server posts issues.

 

Has anyone has suggestions on this process.

 

Thank you

Eshwari

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

Employee
August 10, 2022

can you please tell us more about the use case ?

Mayank_Gandhi
Employee
August 10, 2022

@eshwarign AEM forms submit data in multi-part make sure you add.

 

'content-type: multipart/form-data
EshwarignAuthor
New Participant
August 10, 2022

Where should this be added in the servlet?

 

EshwarignAuthor
New Participant
August 10, 2022

Also we have used the File Attachment Component. Should we write a javascript when the attach button is invoked.

Pulkit_Jain_
Employee
August 10, 2022

@eshwarign 

Are you facing issues reading from the excel file or posting the data in the backend servlet? If you could elaborate on the use case.

Could you share the error msg that you're seeing?

EshwarignAuthor
New Participant
August 10, 2022

We are facing issue with posting data in the backend servlet

 

This is the error msg when trying to get inputstream out of request object.

 

"The request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is null"