Expand my Community achievements bar.

SOLVED

AEM 6.2 - Automatic unzip in assets

Avatar

Level 2

Hi everyone,

 

Is there an OOTB way to unzip assets in the DAM when a user upload a ZIP with assets inside in AEM 6.2 ?

 

Regards,

Grégory

1 Accepted Solution

Avatar

Correct answer by
Level 3

unarchiver workflow step is available out of the box. you can insert it at the end of your workflow to extract the zip files. 

if you do not want your zips to be treated as assets, then you can create a new model and run this workflow on a custom path then move the assets to /content/dam.

hope this helps

 

View solution in original post

4 Replies

Avatar

Level 2

Hi,

 

I found a way, adding the Unarchiver step (OOTB) at the end of the DAM Update Asset process.

 

Topic can be close :)

 

Thanks

Avatar

Level 10

Can you please provide a brief description of how you did this. One way i was thinking is a custom service that is able to programmatically unzip a file and extract the assets. . 

Avatar

Correct answer by
Level 3

unarchiver workflow step is available out of the box. you can insert it at the end of your workflow to extract the zip files. 

if you do not want your zips to be treated as assets, then you can create a new model and run this workflow on a custom path then move the assets to /content/dam.

hope this helps