Despite adding .zip to file Attachment component zip files are uploading but at submission of the form it says zip not supported | Community
Skip to main content
New Participant
May 5, 2022
Solved

Despite adding .zip to file Attachment component zip files are uploading but at submission of the form it says zip not supported

  • May 5, 2022
  • 2 replies
  • 1306 views

AEM: 6.5.12
I have added .zip extension to File attachment component and now it lets me upload zip file.
But as soon as I click on submit button an alert pops up saying that the file is not supported.


 

 

 

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

@vinit_pillai 

I didn't test this earlier but seems like zip format is not supported with the Adaptive Form file attachment component.

I tried different options[0] and none of those worked for me.

Supported MIME types are listed here- https://experienceleague.adobe.com/docs/experience-manager-65/forms/getting-started/introduction-forms-authoring.html?lang=en

 

 

[0] - 

application/zip
application/x-7z-compressed

 

2 replies

Mayank_Gandhi
Employee
May 5, 2022

@vinit_pillai  due to security concerns zip is not supported. However, you can create a custom component for this similar to aem component design.

New Participant
May 5, 2022

thanks @mayank_gandhi 

Pulkit_Jain_
Pulkit_Jain_Accepted solution
Employee
May 5, 2022

@vinit_pillai 

I didn't test this earlier but seems like zip format is not supported with the Adaptive Form file attachment component.

I tried different options[0] and none of those worked for me.

Supported MIME types are listed here- https://experienceleague.adobe.com/docs/experience-manager-65/forms/getting-started/introduction-forms-authoring.html?lang=en

 

 

[0] - 

application/zip
application/x-7z-compressed

 

New Participant
May 5, 2022

Thanks @pulkit_jain_ for clarification.