Expand my Community achievements bar.

Assets: Replace asset references with a new asset

Avatar

Level 3

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.

2 Replies

Avatar

Employee Advisor

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

Avatar

Level 3

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.