How to move assets to specific folder in AEM 6.4 | Community
Skip to main content
pavanh77
Level 2
October 25, 2018
Solved

How to move assets to specific folder in AEM 6.4

  • October 25, 2018
  • 7 replies
  • 5225 views

Hello all,

I am trying to move images from http://localhost:4502/assets.html/content/dam/images  to specific folder , but unable to render back the same as reference is not reflected after using "Move" .

The same is tried with DAMADMIN , but could not succeed.Please suggest.

Regards,

Pavan   

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

7 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
October 25, 2018
pavanh77
pavanh77Author
Level 2
October 25, 2018

Hi Arun,

after moving images are available in specific folder but reference of that images are  not getting reflected on pages.

arunpatidar
Community Advisor
Community Advisor
October 25, 2018

Hi,

It should be reflecting automatically.

Can you see below screen when you do move, It gives you option to adjust references.

Arun Patidar
smacdonald2008
Level 10
October 25, 2018

It works fine on 6.4 - just tested - i will post a video to show this working. I moved from DAM location A to DAM location B.

smacdonald2008
Level 10
October 25, 2018

See this Video where we show that assets in pages (which are moved) are automatically being updated to reflect the new AEM DAM location.

Lokesh_Shivalingaiah
Level 10
October 25, 2018

Hi Pavan,

It should work as expected. If you are still unable to have it successfully, can you post the steps that you are following so that we can try to reproduce the same.

Shrishail_Nimbalkar
January 23, 2022

Hi,

If you are trying to move the bulk of assets and references, kindly create script using AssetManager API's and using assetManager.move() method, move the assets from source folder to destination folder. Once assets moved using Query check in how many content nodes the old path is used/authored, by iterating through the nodes read all property values. If any property value matches with source asset path, set the node property with new asset path and activate the node.