Skip to main content
Level 2
November 4, 2022
Solved

Component dialog empty

  • November 4, 2022
  • 3 replies
  • 1745 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

Lokesh_Vajrala
Community Advisor
Community Advisor
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 

Level 2
November 4, 2022

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

Community Advisor
November 4, 2022

Hi,

Please check the dialog structure. Container is there ?

 

 

Thanks

 

Adobe 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

Mani_kumar_
Community Advisor
Mani_kumar_Community AdvisorAccepted solution
Community Advisor
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