CQ5 Gotchya: Component Creation

One of the things you really need to remember when developing a custom CQ5 component is that regardless of what it is, what it does, or what it smells like, it must have a child dialog component for it to be available in the sidekick for Authors to use. Even if it does not need a dialog to accept any user input, without the dialog the component can never be chosen from the sidekick. So if you’ve created a component and cannot find it in the sidekick, this may be the reason why.

Moral of the story: One Dialog to rule them all…

This entry was posted in AEM, CQ5 and tagged , , , , . Bookmark the permalink.

1 Response to CQ5 Gotchya: Component Creation

  1. In case you don’t need the dialog for a component and want to make it visible on sidekick as well, having an empty cq:editConfig node(instead of empty dialog node) will also do.

Add a comment...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s