cq:EditConfig & dialog.xml

Avatar

Avatar

joshuau83969408

Avatar

joshuau83969408

joshuau83969408

17-07-2017

When creating a new component in AEM 6.2 I noticed it doesn't appear as an available component in the side rail or in design mode until I add the cq:EditConfig node to the component.  I also noticed if I add a dialog.xml node it will allow it to appear in the side rail and via design mode but my understanding is this is part of classic ui and isn't needed for touchui.  Any help with clarifying this would be appreciated.


Thanks!

View Entire Topic

Avatar

Avatar

joshuau83969408

Avatar

joshuau83969408

joshuau83969408

17-07-2017

Thanks for all the feedback everyone!  Just to summarize and clarify to get a Touch UI component to appear in the side rail and design mode you must have the following:

  • cq:dialog node (if the component is to be editable) [OPTIONAL]
  • cq:editConfig [REQUIRED if you want it to appear in side rail/design mode]

Note: dialog.xml also works instead of cq:editConfig but since this is specific to Classic UI the approaches above should be utilized.