Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

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

Avatar

Level 2

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?  

4 Replies

Avatar

Level 10

" 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?

Avatar

Level 2

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?

Avatar

Level 10

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

Avatar

Administrator

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

// 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-manage...

//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