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?
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
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!
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!
@SantoshSai Worked after moving to conf thank you!
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
Hi @PranitaSa ,
You can also try following below steps -
Let me know if it works.
Thanks.
表示
返信
いいね!の合計