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.
Solved! Go to Solution.
Views
Replies
Total Likes
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
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
Thanks @Pulkit_Jain_ for clarification.
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.
@Vinit_Pillai due to security concerns zip is not supported. However, you can create a custom component for this similar to aem component design.
thanks @Mayank_Gandhi