I'm trying to create a component that I can drag into a parsys component, but for some reason it doesn't show up in the list of available components (see images below). I'm pretty new to AEM, so if I sound ignorant, I probably am (edits to this question are welcome).
In CRXDE, under /etc/designs/[your design]/jcr:content, you can define nodes to represent each of your templates & their paragraphs & list the allowed components for each. The format is a node for each template that contains a node for each parsys (both [nt:unstructured]).
parsys – It is a placeholder called “Paragraph System”, where we can drag and drop or add other components or scripts at page level. iparsys – It is inherited paragraph system, it is similar to parsys except that it allows to inherits parent page “paragraph system”.
The first and the foremost requirement for your component to be draggable is to have either a dialog
or design_dialog
.
Second, it shouldn't be part of the component group .hidden
. It is fine if it doesn't have a componentGroup property at all, you can find it under NO GROUP DEFINED
.
Set the allowedParents
property of type String[]
to */parsys
.
And finally make sure that the jcr:title
is different from the name of your component. They shouldn't be the same. For Eg: If the name of the component is text
then the title should at least be Text
.
I haven't worked in the touchUI, but for sidekick this holds good. So I guess it should work for your case too.
First: Make sure you have a dialog defined.
Second: Ensure that there is a componentGroup defined that doesn't start with a period. ANY group name that starts with a period will hide the component.
Third: Make sure the component is enabled with design mode.
AEM Mastery blog post about getting a component to show in the sidekick
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With