Static Reference Rewriter- changes related to MSM | Community
Skip to main content
adobefor
Level 2
October 16, 2015
Solved

Static Reference Rewriter- changes related to MSM

  • October 16, 2015
  • 3 replies
  • 1094 views

Hi,

We have a custom staticreference rewrite transformer component written. Also, the mapping has been made in projectName.xml under/config/rewriter. The functionality was working fine with en_US site redirecting images etc to the static domain. Now that multi lingual sites have been created, the functionality has to be extended to all the sites. As specified, I created new config nodes under config.prod as 

com.projectName.wcm.rewriter.impl.StaticReferenceRewriteTransformerFactory-US
com.projectName.wcm.rewriter.impl.StaticReferenceRewriteTransformerFactory-FR

and so on..

In this case the rewritetransformer gets invoked, but not rightly. It always ends up taking the config of the last node in the order and replaces the url with the static domain specification of that node.eg :  Irrespective of whether it is US or UK or FR url, the static domain that is redirected would be static.siteName.FR

Is anything else to be added here to make it work for Multi sites? Request your help here. Thanks !

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 ogill

Hi,

while you are awaiting a reply and if you feel like contributing, you can always download the source code for ACS Commons code and try and debug it yourself. Then you can contribute a patch for the fix :)

Regards,

Opkar

3 replies

Sham_HC
Level 10
October 16, 2015
adobefor
adobeforAuthor
Level 2
October 16, 2015

Hi, yes, I had posted 5days back on the same forum. I haven't got it addressed yet. Thanks.

ogillAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

while you are awaiting a reply and if you feel like contributing, you can always download the source code for ACS Commons code and try and debug it yourself. Then you can contribute a patch for the fix :)

Regards,

Opkar