We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Make return value in bold while Generating to PDF

Pooja P
Tera Contributor

Hi Team,

 

We have requirement to make return dynamic value (date )in bold , when using generate PDF document.

example 

 var newDateString = 'the ' + dayWithSuffix + " day of " + fullMonthName + " " + year + '.';
return newDateString;
 
So return value of newDateString must be in bold. Tried with .bold() not working Kindly help.
5 REPLIES 5

@Pooja P 

how are you generating that document? which PDF API you are using

where are you writing that script? please share some screenshots.

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