Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Component without a dialog won't display in Sidekick

Tags:

aem

If a component is created, but a dialog.xml file isn't included within it, it will not show as available within the Sidekick, even if enabled in Design mode, and with a Component Group specified — why is this?

like image 705
Tanishk Avatar asked Sep 03 '25 05:09

Tanishk


2 Answers

If you add a cq:editConfig node to the component it will show up in the sidekick, after being enabled in the design dialog of the parsys, without having a dialog.

As reference: http://dev.day.com/docs/en/cq/5-3/developing/components.html#Components and their structure

like image 70
kfaerber Avatar answered Sep 05 '25 00:09

kfaerber


dialog boxes are meant for dynamically adding content to the components. if there is no dialog box in a component there is no reason for component to display in sidekick . u can directly hard code the component like this.

<cq:include path="par0" resourceType="/apps/...." />
like image 35
Shoaib Ahmed Avatar answered Sep 05 '25 01:09

Shoaib Ahmed