Dynamic values in Header and Footer in HTML Templates

Prabneet Kaur
Tera Contributor

Hi Team,

I have a requirement for which I need to add dynamic values(EX. First name last name, GPN) to the header and footer for the HTML Templates. Can you help me with the code for this?

 

I am using this code to print the page number. Along with this I have to print the dynamic values.@page {
margin: 2.5cm 1.5cm 2.5cm 2.4cm;
@top-center {
content: "page" counter(page);
          }

1 REPLY 1

Yousaf
Giga Sage

Hi Prabneet,

This might give you an idea

Edit and create a dynamic custom footer for ServiceNow Service Portal

 

Mark Correct or Helpful if it helps.


***Mark Correct or Helpful if it helps.***