Script inlcude to download Object Array to csv and/or pdf

Jonas VK
Tera Guru

Hi, 

i am trying to create a script include that can put an object array into a csv and/or pdf file and download it. this should happen when the user selects the items and presses the print button.

the creation of the object array is already working but i am stuck on the nversion to csv and downloading

This for agent workspace in UI Builder.

1 ACCEPTED SOLUTION

Chandu Telu
Tera Guru
Tera Guru

Hi,

Check the below link it have answer for you

https://community.servicenow.com/community?id=community_article&sys_id=e5ad70d61b1d4490d01143f6fe4bcb21

Thanks
Chandu Telu
Please Mark Correct/helpful, if applicable,

View solution in original post

4 REPLIES 4

Chandu Telu
Tera Guru
Tera Guru

Hi,

Check the below link it have answer for you

https://community.servicenow.com/community?id=community_article&sys_id=e5ad70d61b1d4490d01143f6fe4bcb21

Thanks
Chandu Telu
Please Mark Correct/helpful, if applicable,

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Can you share your current implementation script and screenshots

Regards
Ankur

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

i got it working with the info above 🙂

Abhi90
Tera Contributor

Hey @Jonas VK 

 

How are you able to download the csv automatically on click of the button? I was able to get the cev attachment and attach to a record but not dowload it automatically.