Type Of Dialog | Community
Skip to main content
Level 3
November 17, 2016
Solved

Type Of Dialog

  • November 17, 2016
  • 3 replies
  • 2812 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by veerareddyc2547

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"

3 replies

veerareddyc2547Accepted solution
Level 3
November 17, 2016

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
Level 10
November 17, 2016

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
Community Manager
Community Manager
November 18, 2016

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