Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Static Reference Rewriter is not working in AEM 6.4

Avatar

Level 4

Hi Friends,

 

I need to rewrite some of the /content/dam urls to Dynamic Media URLs.  I am trying to achieve this functionality using ACS Commons - Static Reference Rewrite Transformer Factory and Apache Sling Rewriter configuration. Did the necessary configuration, but it's not working for me. 

 

Any suggestions. Any additional config or step that is needed apart from the above configurations. Pleas help.

 

Regards,

Hema

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@Hemalatha how are you doing this? The asset path in AEM and Dynamic media will not match right?

 

I guess you either have to right a rewrite similar to link rewrites to convert paths for assets in a page by reading the DM image file name from Asset metadata or call write service which will take DAM path as input and gives DM url if synced to DM and call that service in your component 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@Hemalatha how are you doing this? The asset path in AEM and Dynamic media will not match right?

 

I guess you either have to right a rewrite similar to link rewrites to convert paths for assets in a page by reading the DM image file name from Asset metadata or call write service which will take DAM path as input and gives DM url if synced to DM and call that service in your component