Static Reference Rewriter is not working in AEM 6.4

Avatar

Avatar
Ignite 3
Level 2
Hemalatha
Level 2

Likes

2 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Ignite 1
Boost 1
Applaud 5
View profile

Avatar
Ignite 3
Level 2
Hemalatha
Level 2

Likes

2 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Ignite 3
Ignite 1
Boost 1
Applaud 5
View profile
Hemalatha
Level 2

01-07-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

232 likes

Total Posts

294 posts

Correct reply

67 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

232 likes

Total Posts

294 posts

Correct reply

67 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile
Shashi_Mulugu
MVP

01-07-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 

Answers (1)

Answers (1)

Avatar

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

232 likes

Total Posts

294 posts

Correct reply

67 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

232 likes

Total Posts

294 posts

Correct reply

67 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile
Shashi_Mulugu
MVP

25-07-2020

@Hemalatha are you able to solve it?