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
Level 3
May 5, 2022 7:50 AM UTC
Solved

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

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.
Pulkit_Jain_
Pulkit_Jain_Accepted solution
Employee
May 5, 2022 8:28 AM UTC

@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

 

5 replies

Mayank_Gandhi
Employee
May 5, 2022 1:35 PM UTC

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

Translate
Level 3
May 5, 2022 1:50 PM UTC

thanks @mayank_gandhi 

Translate
Pulkit_Jain_
Pulkit_Jain_Accepted solution
Employee
May 5, 2022 8:28 AM UTC

@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

 

Translate
Level 3
May 5, 2022 12:25 PM UTC

Thanks @pulkit_jain_ for clarification.

Translate