Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Error during include of component in other component dialog

Avatar

Level 4

Hi All,

 I Have a requirement, where i have to include component A into component B's dialog , but while adding via granite/ui/components/foundation/include, its giving me below error.

 

Secondly, is there any way to add other module component into current module dialog in touch ui.

 

Please refer screenshots.

annkitaaggarwal_0-1633599399232.png

 

annkitaaggarwal_1-1633599567343.png

 

 

Thanks in advance

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

It worked for me, In the below example, I'm reusing tab from other component (/apps/components/content/link/cq:dialog/content/items/tab1)

 

SivaPrasadReddyS_0-1633604007866.png

 

Please verify the dialog path which you're referring is valid or not.

 

View solution in original post

6 Replies

I am exactly doing the same thing already, but still getting an error

Avatar

Community Advisor

Looks like you're using just component path, can you try giving complete dialog path which you wanted to reuse ?

 

i tried with dialog path too "/apps/citrix/components/contentSlider/cq:dialog"

Avatar

Correct answer by
Community Advisor

It worked for me, In the below example, I'm reusing tab from other component (/apps/components/content/link/cq:dialog/content/items/tab1)

 

SivaPrasadReddyS_0-1633604007866.png

 

Please verify the dialog path which you're referring is valid or not.