Hi
Need to create global header and footer components which would have dialog for properties which can be updated by author and changes should be reflected across the all pages .
We used design dialog to implement above functionality but issue with using design dialog is that it created properties per template,and that spoils our purpose of giving author a functionality to update global values .
Is there a better way to achieve above functionality
Solved! Go to Solution.
Views
Replies
Total Likes
Using experience fragments for the Header and Footer in Adobe Experience Manager (AEM) can offer several benefits in terms of content management, consistency, and flexibility. Experience fragments are reusable content structures in AEM that enable you to create and manage content fragments independently, making them well-suited for elements like headers and footers. Here are some reasons why experience fragments are commonly used for Headers and Footers:
Reusability:
Content Separation:
Centralized Management:
Versioning and Rollback:
Multichannel Content Delivery:
Personalization:
Streamlined Workflows:
Efficient Updates:
In summary, using experience fragments for headers and footers in AEM provides a structured and efficient approach to managing reusable content, fostering consistency, and simplifying content maintenance across a website or digital experience.
Rather than use global properties, I lean more towards inherited properties, which can be overridden for sections of the site, but could act as effectively a global value when edited on a higher part of the tree.
These are pretty easy to implement through page properties dialogs and then using something like pageProperties.getInherited() or WCMUtils getInheritedProperty() in the template files.
Using experience fragments for the Header and Footer in Adobe Experience Manager (AEM) can offer several benefits in terms of content management, consistency, and flexibility. Experience fragments are reusable content structures in AEM that enable you to create and manage content fragments independently, making them well-suited for elements like headers and footers. Here are some reasons why experience fragments are commonly used for Headers and Footers:
Reusability:
Content Separation:
Centralized Management:
Versioning and Rollback:
Multichannel Content Delivery:
Personalization:
Streamlined Workflows:
Efficient Updates:
In summary, using experience fragments for headers and footers in AEM provides a structured and efficient approach to managing reusable content, fostering consistency, and simplifying content maintenance across a website or digital experience.
Views
Like
Replies