Static Reference Rewriter is not working in AEM 6.4 | Community
Skip to main content
Hemalatha
Level 4
July 1, 2020
Solved

Static Reference Rewriter is not working in AEM 6.4

  • July 1, 2020
  • 2 replies
  • 1788 views

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

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 Shashi_Mulugu

@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 

2 replies

Shashi_Mulugu
Community Advisor
Shashi_MuluguCommunity AdvisorAccepted solution
Community Advisor
July 1, 2020

@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 

Shashi_Mulugu
Community Advisor
Community Advisor
July 25, 2020

@hemalatha are you able to solve it?