Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Type Of Dialog

Avatar

Level 4

What is the primary type of "dialog"?

When we create dialog, jcr:primarytype is "cq:Dialog" , but in adobe documentation its is mentioned as "nt:unstuctured".

Also for design dialog ,it is mentioned as cq:dialog in one place and "nt:unstructured" in other place.

https://docs.adobe.com/docs/en/aem/6-0/develop/components.html

1 Accepted Solution

Avatar

Correct answer by
Level 3

for classic ui the dialog/design dialog of node type should be "cq:Dialog" and for touch ui  the dialog  of node type should be "nt:unstuctured"

View solution in original post

3 Replies

Avatar

Correct answer by
Level 3

for classic ui the dialog/design dialog of node type should be "cq:Dialog" and for touch ui  the dialog  of node type should be "nt:unstuctured"

Avatar

Level 10

Hi Anusha,

For touch ui, Dialog and Design dialog primary type should be nt:unstructured,  where as in Classic UI  dialog and design dialog primary type should be cq:Dialog

As scott stated, follow the community article - https://helpx.adobe.com/experience-manager/using/creating-touchui-component.html

And also see this https://docs.adobe.com/docs/en/aem/6-1/develop/components/components-touch-optimized.html - You will find here the difference.

Hope this helps!!

Thanks,
Ratna Kumar.

Avatar

Administrator

Hi 

for touch ui Dialog and Design dialog primary type should be nt:unstructured and in Classic UI dialog and design dialog primary type should be cq:Dialog

Please have a look at this community article:

Link:- http://suryakand-shinde.blogspot.in/2014/05/cqaem-dialog-vs-design-dialog.html

// AEM DIALOG V/S DESIGN DIALOG

    A component is CQ is a smallest unit that can dropped on a page and content author can fill in any content in it. Content can be of two types:
    Page specific (in this case component dialog is used)
    Design/Global (in this case design_dialog is used)
    The way a dialog or design_dialog is defined is exactly same, there are only two differences:
    The obvious difference is in their name i.e. “dialog” and “design_dialog”
 

Link: http://www.willdev4donuts.com/aem6-touch-ui-cqdialog-vs-dialog/#.WC691y19670

// Touch UI cq:dialog vs dialog

 

Further reading:

http://helpx.adobe.com/experience-manager/using/creating-touchui-component.html
http://docs.adobe.com/docs/en/aem/6-0/develop/components/components-develop.html
http://docs.adobe.com/docs/en/aem/6-0/develop/extending/granite/granite-reference.html

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni