Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Transformers Path

Avatar

Level 3

Hi

 

I have created a project to be deployed in ams cloud. We have requirement, for not to cache clientlibs files.

 

So we have written a transformers for that. 

 

When i try to setup rewriter in ui.config , transformer is not working .

 

Dillibabu77_0-1675460735135.png

 

In ui.apps,  i created config folder and moved rewriter folder , transformers is working as expected.

 

Dillibabu77_1-1675460857700.png

 

Is this expected behaviour or i am missing something?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor
2 Replies

Avatar

Community Advisor

Hi @Dillibabu77 ,

 

This looks good to put rewriter under ui.apps > project > config. Please refer this video ( explanation around at 2:00).

 

Just to check you must be writing custom link transformer as well, right?

 

Thanks,

Ritesh Mittal

Avatar

Correct answer by
Employee Advisor

Sharing few examples -

 

https://www.flexibledesigns.rs/creating-a-link-rewriter/

https://wttech.blog/blog/2019/how-to-use-sling-transformers-in-aem/

DEBAL_DAS_1-1675603740024.png

 

Here you could see, they have rewriter under /apps/APPNAME/config