Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Design Dialog issue

Avatar

Level 3

Hi,

I have created 2 pages(page 1 and page2) using same template and here I am getting design dialog content for page1 and not getting for page2.

Please help me on this issue.

Thanks, Ram.

1 Accepted Solution

Avatar

Correct answer by
Level 3

Thanks all, Due to some other components, inheritance was breaking. we have created new pages again and issue is resolved.

@Veena, This is simple footer component using design dialog. If you want, I will create a package share with you soon.

Thanks, Ram

View solution in original post

9 Replies

Avatar

Level 3

Can you be more specific or elaborative please. Without much details, it may not be easy to point out where the issue is. If possible provide some screen shots which may allow us to comment/suggest on the solution.

Avatar

Level 3

Hi mallik0718 ,

We have a simple design dialog component with footer links, included the component in page level component jsp. We created a page1 with all footer links and it stores the component content in /etc/designs/project/jcr:content/homepage/par/footer. when I try to create page2 with same page1 template, not getting newly created footer links which created in page1. As per design dialog functionality, share the content at the template level but not sharing from page1 to page2.

Thanks, Ram.

Avatar

Level 2

Hi,

Check your page resource type. page 2 to inherit design dialg from page1 .

Thanks

Avatar

Level 3

Hi Naresh,

Since page1 & page2 created using same template, both page resource type also same. Do we need any other configuration required to inherit design dialog from page 1 to page2?

Thanks,Ram.

Avatar

Level 2

Hi

if you want same design dialog from page1 to page 2. for page 2 you should give page1 path. you should not give as same. 

example:

page1:     /apps/mySite/structure/Page1 having resource type as some default one like foundation something

page2:     /apps/mySite/structure/Page2 should have resource type as /apps/mySite/structure/Page1 page1 path.

for your scenario you have to follow resource-type inheritance from page1 for page 2.

Thanks

Avatar

Level 3

Can you please confirm where the authoring of your component(footer links) is happening?. The the component(with design_dialog) to show up in all pages of a given template, the authoring should happen in Design mode(not in page level).  So, in your case, I hope you have accessed the page 1, switched to design mode, configured all the footer links while you are in design mode. This will create the relevant node structure in /etc/designs/<project-name>/<your-template> and now when you have created page 2, the footer component shows up with all footer links automatically.  please make a package and send it over. I will install on my local instance and figure out whats going on.

Avatar

Community Advisor

HI Raja

    As far as I cud understand you have done it correct. And your understanding also is correct about design dialog. Could you please share a sample project or component for us to replicate the same scenario ? May be looking at your implementation might give more clear view. Just make sure CQ/AEM Dialog v/s Design Dialog  you have followed all the basic principles for design dialog.

Thanks

Veena

Avatar

Correct answer by
Level 3

Thanks all, Due to some other components, inheritance was breaking. we have created new pages again and issue is resolved.

@Veena, This is simple footer component using design dialog. If you want, I will create a package share with you soon.

Thanks, Ram

Avatar

Community Advisor

Since your issue is resolved I am perfectly fine I was confused since you did everything correct as per design dialog, why you are not getting the values . But I guess I am fine now