Highlighted

How to move bulk Asset in DAM

Avatar

Avatar

rajs73651622

Avatar

rajs73651622

rajs73651622

15-04-2019

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 .

Replies

Avatar

Avatar

Hemant_arora

Avatar

Hemant_arora

Hemant_arora

15-04-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");

Highlighted

Avatar

Avatar

BrijeshYadav

Avatar

BrijeshYadav

BrijeshYadav

15-04-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

Highlighted

Avatar

Avatar

bobbym33667819

Avatar

bobbym33667819

bobbym33667819

15-07-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