When developing new components in AEM 6.0/6.1 for the new CoralUI frontend you might end up in components not beeing shown in the Component Browser, even if they would be allowed to place on the current page based on the Design configuration.
When are components shown in the Component Browser / Sidekick?
- Component is allowed to be placed on the current page (Design configuration)
- Component is not hidden
- Component has a Dialog OR
- Component has a cq:editConfig
Why are components that are matching the criteria not shown in AEM 6.1 Coral UI
Components which are allowed to be placed on the page, are not hidden and do have a valid cq:dialog configuration (CoralUI dialog configuration), will not be shown in the Component Browser nor in the Sidekick. The reason for that is:
The Component Browser is still looking for the existence of the (“old”) extJS dialog.xml configuration. If there is no dialog.xml configuration, the component won’t be shown in the list.
How to resolve this issue
Instead of creating a dialog.xml which will never be used, a simple cq:editConfig can be created to make the components visible again:
<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="cq:EditConfig"> </jcr:root>
Do you need assistance in upgrading to CoralUI or a new AEM version? Just let us know!