Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

When a record is exported via the URL using &PDF is it possible to control the font?

Rain Vaine
Kilo Sage

Hello experts,

We are asked if we can change the font of the file being exported via the &PDF method.
Is it possible?

Regards,
Vaine

3 REPLIES 3

Dr Atul - LNG
Tera Patron

Hi @Rain Vaine 

 

No, we have no control on this.

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************

Tanushree Maiti
Tera Patron

Hi @Rain Vaine 

 

As far as I know, there is no option to control or change the font.

However, you can try opening the PDF using a different PDF viewer to see if the issue persists.

 

Note: We faced a similar kind of issue where ASCII characters were getting changed to different characters after exporting to an Excel/CSV file. We were advised to use a different viewer, which helped resolve the issue.

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Ankur Bawiskar
Tera Patron

@Rain Vaine 

Not possible to control for the OOTB PDF Export

but you can refer & use PDF Generation API

check this link which has script from Piyush

Generate PDF file for catalog variables and attach it to RITM 

you can check the PDF Generation API for this

Generating Custom PDFs - using the new PDFGenerationAPI

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader