Expand my Community achievements bar.

SOLVED

Component dialog empty

Avatar

Level 2

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

kritikagoyal_0-1667532782929.png

What can be the issue?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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-devel...

View solution in original post

5 Replies

Avatar

Community Advisor

@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-compo... 

Avatar

Level 2

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

Avatar

Community Advisor

Hi,

Please check the dialog structure. Container is there ?

 

KannanC17387120_0-1667572254055.png

 

Thanks

 

Avatar

Level 3

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-basic...

Avatar

Correct answer by
Community Advisor

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-devel...