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

Page Properties Dialog for a specific Editable Template in AEM 6.5

Avatar

Level 1

In AEM 6.5, I'm trying to customize the page properties dialog for a specific template. I created a custom dialog under /apps/[my-project]/components/page/cq:dialog, but when I open the page properties, it still shows the default one.

I cleared the dispatcher cache and did a full publish, but no change.

Am I missing any overlaying or sling resource merger steps to make the custom page properties dialog appear correctly?

Any tips on best practices to properly override the page properties dialog for specific templates in AEM?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @PranitaSa,

When you say "specific template" - Can you try creating or overlaying the dialog at:

/conf/<your-project>/settings/wcm/templates/<your-template>/structure/jcr:content/cq:dialog

(not directly under /apps/.../components/page if you want template-specific properties) - unless If you want it for all pages using a certain component.

Hope that helps!


Santosh Sai

AEM BlogsLinkedIn


View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hi @PranitaSa,

When you say "specific template" - Can you try creating or overlaying the dialog at:

/conf/<your-project>/settings/wcm/templates/<your-template>/structure/jcr:content/cq:dialog

(not directly under /apps/.../components/page if you want template-specific properties) - unless If you want it for all pages using a certain component.

Hope that helps!


Santosh Sai

AEM BlogsLinkedIn


Avatar

Level 1

@SantoshSai Worked after moving to conf thank you!

Avatar

Level 2

Hi @PranitaSa,

For dynamic templates, you can use a Granite Render Condition to define page properties specific to a template.
I have written a blog on this topic here: https://julkar-naim.com/aem/render-condition/

Hope this helps!

Regards,
Naim

Avatar

Level 4

Hi @PranitaSa ,

 

You can also try following below steps - 

 

  • Create a new page component by extending your existing page component using sling:resourceSuperType.
    (This ensures you inherit all the base functionalities without duplicating code.)
  • In the new page component, create or customize the cq:dialog to add the additional fields you require for the Page Properties.
  • Create a new template that uses this new page component as its sling:resourceType.
    (This way, only the pages created from this template will have the customized Page Properties.)

Let me know if it works.

Thanks.