Expand my Community achievements bar.

SOLVED

Undo Move of Assets in Bulk

Avatar

Level 3

Hello all, we have a new publisher who unfortunately moved around 200+ assets from multiple source locations to multiple destinations.. is there any easy way to undo this, we have the time period and the name of the person.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @harishred 

 

The ACS AEM Commons Audit log search can help you identify the list of those assets along with their paths - https://adobe-consulting-services.github.io/acs-aem-commons/features/audit-log-search/index.html but the actual undo of the move may have to be done manually.

 

If you are on AEM 6.5 and do not have auto publish enabled, you maybe able to generate a package of those assets from Publish instance and install on Author.

 

Looking forward to hear from others if there is any efficient way. 

 

Thanks
Narendra

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hello @harishred 

 

The ACS AEM Commons Audit log search can help you identify the list of those assets along with their paths - https://adobe-consulting-services.github.io/acs-aem-commons/features/audit-log-search/index.html but the actual undo of the move may have to be done manually.

 

If you are on AEM 6.5 and do not have auto publish enabled, you maybe able to generate a package of those assets from Publish instance and install on Author.

 

Looking forward to hear from others if there is any efficient way. 

 

Thanks
Narendra

Avatar

Level 5

@harishred 

There is no straight way to do it, May be we can ask for this new feature @kautuk_sahni 
Temporary Solution for this -If you have time stamp then it will be a good start point. you need to check logs for this timeframe. THere is one sling job triggers for move operation com/adobe/cq/dam/assetmove you can get the path of the asset also. If you have any Listner for DAM then it will be too good, you can check logs for that also. 

Create a report for last that day and filter out the last modified date with that range also add criteria as last modified by workflow-process-service
You can check the async jobs that triggered.
 

Avatar

Level 3

thank you @narendragandhi @khamat_bn .. we currently did this manually by looking at the modified date and reverting them.. i hope adbe can come up with something 

Avatar

Adobe Champion

@harishred  You can also use the ACS Reports Query reports to run a query with dates to get all the paths of assets affected and then run a groovy script with these input paths in a text file to unpublish or move the assets using scripts with automation than manually.