Download a document file from a catalog item

sayantansarkar
Kilo Contributor


Hi All,

Here's what I need to do:

I have created a service catalog form and inserted a download button by using UI Page. Also uploaded a word document file in the servicenow instance,I need when an user clicks on that "Download Form" button, automatically save a copy of that document file which I uploaded to their desktop from the Catalog Task.

Thanks for your help in advance.

Thanks & Regards,
Sayantan Sarkar

1 ACCEPTED SOLUTION

coryseering
ServiceNow Employee
ServiceNow Employee

If you already know the sys_id of the attachment you uploaded, you can make a very simply UI Action:



Screen Shot 2015-08-27 at 9.30.12 AM.png



When you try to open a sys_attachment directly, it should trigger a download locally.


View solution in original post

4 REPLIES 4

coryseering
ServiceNow Employee
ServiceNow Employee

If you already know the sys_id of the attachment you uploaded, you can make a very simply UI Action:



Screen Shot 2015-08-27 at 9.30.12 AM.png



When you try to open a sys_attachment directly, it should trigger a download locally.


Thanks Cory
This will help I guess



Thanks & Regards,
Sayantan Sarkar


Hi Sayantan,


I have a similar kind of requirement - I uploaded a word document file in the catalog item,I need when an user clicks a link, automatically save a copy of that document file in download folder in the user's hard drive. Then the user can fill the form and attached to the cat item using attache button)



Cory,

i have a similar requirement.

But it is not for working when the end user is accessing.