Reading EXCEL File from Adaptive Form | Community
Skip to main content
Level 2
August 10, 2022

Reading EXCEL File from Adaptive Form

  • August 10, 2022
  • 3 replies
  • 2280 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

Pulkit_Jain_
Adobe Employee
Adobe 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
Level 2
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"

Mayank_Gandhi
Adobe Employee
Adobe Employee
August 10, 2022

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

 

'content-type: multipart/form-data
EshwarignAuthor
Level 2
August 10, 2022

Where should this be added in the servlet?

 

EshwarignAuthor
Level 2
August 10, 2022

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

Adobe Employee
August 10, 2022

can you please tell us more about the use case ?