How to move bulk Asset in DAM | Community
Skip to main content
Level 3
April 15, 2019

How to move bulk Asset in DAM

  • April 15, 2019
  • 2 replies
  • 9809 views

I need to move bulk asset from one location to other in DAM .Manually its not possible to move bcoz i am having more than five thousand asset.

Can some body suggest quickly how to achieve this goal in AEM .

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Hemant_arora
Level 8
April 15, 2019

Use the ACS tools AEM fiddler tool, change the script to servlet from header ,

in your servlet, get all the assets from the folder in dam and use the moveAsset method of AssetManager api to move assets from one location to other.

AssetManager ("The Adobe AEM Quickstart and Web Application.")

Eg:
  // To move Asset from /document/somedocument.pdf to /document/legal with name document.pdf
  AssetManager#move("/document/somedocument.pdf", "/document/legal/document.pdf");

bobbym33667819
Level 3
July 15, 2019

In our case we need to rename thousands of assets. Will the AssetManager API take care of all Collections where these assets have been referenced? If you use the UI manually the collections get updated but if you use the JCR API and session.move() they are not.

Thanks,

Bobby

BrijeshYadav
Level 5
April 15, 2019

You can use CRxtoOak, it can also be used to copy data between Oak repositories.
Using the CRX2Oak Migration Tool

Or Vault Remote Copy

Read this for assets migration

Assets Migration Guide