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

corina
ServiceNow Employee
ServiceNow Employee

Hello Aneta.



Others have asked the same, kindly check:


Rename PDF file on export


Exporting Reports to Excel - Rename file on export


aneta1
Tera Contributor

Hi Corina,



I searched through those topics and those are unresolved/unhelpful. I hope maybe somebody has more recent information upon this requirement, as I see there was enhancement recorded on 2016 and I am working on Istanbul.



Aneta


corina
ServiceNow Employee
ServiceNow Employee

Hello Aneta,



From the above discussions the conclusion would be this is not possible.


It may be that this did not change yet, but yes, if someone has any new information/ideas let us keep an eye on it.


In the meantime I would also suggest you to open an ER yourself, it always helps.



Here is where you do it:


https://hi.service-now.com/nav_to.do?uri=/com.glideapp.servicecatalog_cat_item_view.do%3Fsysparm_id%...