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.

How to change default PDF name

aneta1
Tera Contributor

Hi,

I am using PDF export functionality on SP Widget. This is the code I am using:

data.ticketPrint = data.table + '.do?PDF&sys_id=' + data.sys_id + '&sysparm_view=default';

 

It is generating PDF that is named after the table, but customer wants to personalise that name. Can anybody tell me how to achieve that?

 

Thanks,

Aneta

5 REPLIES 5

aneta1
Tera Contributor

Thanks Corina,



I'll open ER myself as suggested, but I'll keep monitoring this questions in case somebody finds a way to do it.