Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Type Of Dialog

anushap40132887
Level 4
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
veerareddyc2547
Correct answer by
Level 3
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

0 Replies
veerareddyc2547
Correct answer by
Level 3
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"

Ratna_Kumar
Community Advisor
Community Advisor

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.

kautuk_sahni
Employee
Employee

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