Component dialog empty | Community
Skip to main content
New Participant
November 4, 2022
Solved

Component dialog empty

  • November 4, 2022
  • 3 replies
  • 1714 views

I have created a component 'Author' and dropped it on a page. But the component dialog is showing up empty.

What can be the issue?

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 Mani_kumar_

Hi Kriti

This happens due to structure difference of your dialog and items under the dialog field

If you are starting to learn the dialog creation please check some of the OOTB dialogs provided within AEM

Or try to install sample project from WKND and refer those structure before creating a custom dialog

Please follow this article for installing and working with WKND sample

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/project-archetype/component-basics.html?lang=en

3 replies

Mani_kumar_
Mani_kumar_Accepted solution
New Participant
November 4, 2022

Hi Kriti

This happens due to structure difference of your dialog and items under the dialog field

If you are starting to learn the dialog creation please check some of the OOTB dialogs provided within AEM

Or try to install sample project from WKND and refer those structure before creating a custom dialog

Please follow this article for installing and working with WKND sample

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/project-archetype/component-basics.html?lang=en

Employee
November 4, 2022

Hi @kritikagoyal ,

It happens when cq:dialog structure is not correct. Please follow the below article for reference:
https://experienceleague.adobe.com/docs/experience-manager-64/developing/components/components-basics.html?lang=en

Lokesh_Vajrala
New Participant
November 4, 2022

@kritikagoyal Have you added the cq:dialog to your component with authoring fields?

 

You can refer to this document - https://experienceleague.adobe.com/docs/experience-manager-65/developing/components/developing-components.html?lang=en#creating-a-new-dialog 

New Participant
November 4, 2022

@lokesh_vajrala yes, I have added cq:dialog with 3 authoring fields.

New Participant
November 4, 2022

Hi,

Please check the dialog structure. Container is there ?

 

 

Thanks