Dynamic Header and Footer Based on Metadata | XM Community
Skip to main content

Hello community,

Could you please help me validate if there is a way to use a header and footer dynamically based on a specific metadata field, such as "Business Unit"? For example, having a specific header display when a particular value of the metadata is detected.

I hope you can assist me with this.

Thank you in advance!

You can dynamically change the header and footer by adding JavaScript to the header or footer inside a <script> tag. For example, you could pipe the “Business Unit” embedded data field into the JavaScript, then modify the content or format of the header/footer based on the value.


Leave a Reply