Field values in form export to pdf header/footer

Blayne
Mega Contributor

Can custom code to pull form variables be used in the "User Specified Text" option for header/footer templates? Or how can I dynamically modify the header content based on fields on the record?

I tried a dumb attempt at current.[field] and that just showed up as text.  I want to pull from the record values.

For example, from an incident form, I would like to add the caller as the middle header on both the Portrait and Landscape export to PDF actions.

3 REPLIES 3

Chuck Tomasi
Tera Patron

I did some experimentation and double checked with our product team. Unfortunately, this is not possible at this time (Madrid). The developer loves the idea and suggested an enhancement request.

I invite you to open an enhancement request! Our product managers DO listen.
Enhancement requests: Tell us how you would improve the ServiceNow product 

-------------------
Chuck Tomasi - Sr. TPMM, Now Platform, ServiceNow
LinkedIn | Twitter | Facebook | YouTube | Web

Is it possible to script which header/footer you want to use when exporting a PDF from a form that has an export view? We are using Orlando 

Hi Chuck,

 

Did this ever made into the enhancement in newer releases? Any suggestions on how to do this with San Diego?

 

Thank you!