Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader