Changing the name of a component in Adobe CQ

1.2k Views Asked by At

I'm using Adobe CQ5. I copied the 'image' component from 'foundation/components/image' into my component folder. Now I want to rename this component to something else, say 'xyz'. I changed the name of the node to 'xyz', also I renamed image.jsp to xyz.jsp , however this doesn't seem to work. Can you please list down all the changes that I need to make in order to make this work? Thanks

3

There are 3 best solutions below

0
On BEST ANSWER

I figured out the issue. I was setting the jcr:title value to "xyz". Turns out that this value should start with a capital letter. Everything is working perfectly now!

0
On

Title of the component displayed in the sidekick could be set using jcr:title property on the main component node (image node in your case).

0
On

If you have cq edit config xml file make sure you add right component group and make sure that this is enabled by going to design mode. I am just guessing this because these are some of the common mistakes. As suggested from other please add more details.