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

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

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.
Jitendra_S_Toma
Jitendra_S_TomaAccepted solution
Level 10
Jun 20, 2017 12:39 AM UTC

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

New Participant
Jun 20, 2017 5:03 AM UTC

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

Translate
Jitendra_S_Toma
Jitendra_S_TomaAccepted solution
Level 10
Jun 20, 2017 12:39 AM UTC

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

Translate