Make pages recognize the new location of assets | Community
Skip to main content
Level 2
July 25, 2023
Solved

Make pages recognize the new location of assets

  • July 25, 2023
  • 2 replies
  • 790 views

I am in the process of updating the file structure on our 6.5 DAM. When I've moved a folder of assets to a new place in the DAM, the links to those assets from published pages get broken. Is there a way to move the assets and get the published pages to refer to the new location?

 

I'm open to all ideas. Thank You!

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

@mark_edelstein References of assets wont be updated in page automatically. You have to write script to update content wherever old asset path is referred. You have to be cautious as asset path might be available in Richtext as well, handling update of it would be tricky. 
Also you have to update collections, related assets link in case those are available. 

2 replies

bilal_ahmad
Level 5
July 25, 2023

Hello, @mark_edelstein you need to run scripts/use groovy script/ACS commons on-deploy script to find out the asset references and update them accordingly as well when you're restructuring your dam assets

 

Thanks

- Bilal

Sachin_Arora_
Community Advisor
Sachin_Arora_Community AdvisorAccepted solution
Community Advisor
July 27, 2023

@mark_edelstein References of assets wont be updated in page automatically. You have to write script to update content wherever old asset path is referred. You have to be cautious as asset path might be available in Richtext as well, handling update of it would be tricky. 
Also you have to update collections, related assets link in case those are available.