Customizing Dialogs to add custom properties to a Page type in AEM 6.2 | Community
Skip to main content
Level 2
November 11, 2016

Customizing Dialogs to add custom properties to a Page type in AEM 6.2

  • November 11, 2016
  • 2 replies
  • 4785 views

This is in AEM 6.2. I'm trying to add a Dialog to a component that needs some customized Page Properties. Everything works great TOUCH UI. But when I tried to customize the same for CLASSIC UI by adding Dialog to the Component and changing it, it still shows the original Dialog from /libs/... and not showing any changes. If I copy/paste these changes right under the /apps/ folder with the same folder structure as in /libs/.. (which is OVERLAY),  the changes are being shown. Any idea what am I missing?  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

smacdonald2008
Level 10
November 11, 2016

" If I copy/paste these changes right under the /apps/ folder with the same folder structure as in /libs/.. (which is OVERLAY),  the changes are being shown."

The proper way here is to place the nodes under /apps. So to be clear - the changes are showing up when you overlay?

Level 2
November 11, 2016

smacdonald2008 wrote...

" If I copy/paste these changes right under the /apps/ folder with the same folder structure as in /libs/.. (which is OVERLAY),  the changes are being shown."

The proper way here is to place the nodes under /apps. So to be clear - the changes are showing up when you overlay?

 

Hey Scott, 

Thanks much for responding. The changes are showing up when I overlay. But the problem is these newly added page-properties should reflect to specific pages (of type page-news), not all the pages in the application. That's the reason why I'm placing the changes under the specific component rather that at the root /app/ level. Could you let me know if there is any way to only affect the specific components(page-types), and not all the pages in the application?

smacdonald2008
Level 10
November 11, 2016

Do you have a sample package that  you can send me - i would like to load this and take a deep look at this. 

kautuk_sahni
Community Manager
Community Manager
November 15, 2016

Hi

Please have a look at this documentation :

Link:- https://docs.adobe.com/docs/en/aem/6-2/develop/extending/customizing-page-properties/page-properties-views.html

// Configuring your Page Properties

    

  • Create your page component under /apps.

  • Create an override (using dialog diff provided by the Sling Resource Merger) for the basic - moretitles section of your page component; for example:

        
    <your-page-component>/cq:dialog/content/items/tabs/items/basic/items/column/items/moretitles   

     

    NOTE: As reference, see:   /libs/foundation/components/page/cq:dialog

    However, you must not change anything in the /libs path.

    This is because the content of /libs is overwritten the next time you upgrade your instance (and may well be overwritten when you apply either a hotfix or feature pack).

Package :- https://github.com/Adobe-Marketing-Cloud/aem-authoring-extension-page-dialog

// aem-authoring-extension-page-dialog

Reference post:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__m3tp-there_is_anarticle.html

//Customize Page Properties / AEM 6.1 TouchUI

 

Reference article :- http://experience-aem.blogspot.in/2013/09/custom-page-properties-dialog.html

// Creating Custom Page Properties Dialog in CQ

 

Please share the package or steps that your are doing in your case.

~kautuk

Kautuk Sahni