Highlighted

Assets: Replace asset references with a new asset

robinsonm

31-05-2019

Is there an easy/efficient way to perform the following scenario within AEM Assets?

1. I have an asset named "asset1.jpg" that is referenced on X amount of pages.

2. I would like to add another image to the DAM named "asset1.svg".

3. I would like to replace all references of "asset1.jpg" with "asset1.svg" in X amount of pages.

Let me know your thoughts.

Replies

Highlighted

Jörg_Hoh

Employee

31-05-2019

do you want to replace your asset1.jpg with asset1.svg on a repo level, or do you just want to replace the link with new target?

Jörg

Highlighted

robinsonm

03-06-2019

It would be replacing any references to 'asset1.jpg' with 'asset1.svg' so that any page that used to load the jpg now loads the svg, without manually going to every page and updating the image src.