Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

Avatar

Community Advisor

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.

 

it worked, Thanks