How to change sling:resourceType of a component in the content when component folder structure is changed | Community
Skip to main content
Level 2
June 19, 2017
Solved

How to change sling:resourceType of a component in the content when component folder structure is changed

  • June 19, 2017
  • 2 replies
  • 1306 views

I want to move some of the custom components in AEM to new folder structure. Move option in crx/de is allowing me to change the folder structure but the component references (sling:resourceType) in the content are not getting changed.

Is there any way to automate the process for changing the component references (sling:resourceType) in the entire content?

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 Jitendra_S_Toma

Hi,

There is no such process where you can change component reference like taxonomy. however it is good use case.  There should be configurable things for checking references like DAM, Taxonomy etc.

Regards,

Jitendra

2 replies

Jitendra_S_Toma
Jitendra_S_TomaAccepted solution
Level 10
June 20, 2017

Hi,

There is no such process where you can change component reference like taxonomy. however it is good use case.  There should be configurable things for checking references like DAM, Taxonomy etc.

Regards,

Jitendra

June 20, 2017

Hi,

I am not sure about the exact requirement , but you can give try with sling pipes, it does not comes out of the box.

Thanks

Indranil