Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Avatar

Level 3

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.


 
Vinit_Pillai_0-1651737022999.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@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-for...

 

 

[0] - 

application/zip
application/x-7z-compressed

 

View solution in original post

0 Replies

Avatar

Correct answer by
Employee Advisor

@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-for...

 

 

[0] - 

application/zip
application/x-7z-compressed

 

Avatar

Level 3

One more thing, @Pulkit_Jain_ 
Does this happen, when we click on OK on the alert which says the file is not supported and submit the form again then it submits.?? 
Update: Don't bother, submitting again was successful because the attachment was deleted afterwards.

Avatar

Employee Advisor

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