Search code examples
aemday-cq

Changing the name of a component in Adobe CQ


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


Solution

  • 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!