How to download a file onclick of a link in record producer?

jenny32
Tera Guru

Hi All,

I have a scenario whenever end user clicks on a link in service catalog(record producer), excel template should get downloaded to their system

How do i achieve this?

Any help will be highly appreciated.

Thanks,

Jennifer

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

You can create a link directly to the attachment record. For example,



https://YOURINSTANCE.service-now.com/sys_attachment.do?sys_id=3cc358dadb8be2002e38711ebf96190d



You may just need a simple UI macro that you can place on the form that says "Download template here". Pretty straightforward.



http://wiki.servicenow.com/index.php?title=UI_Macros


View solution in original post

3 REPLIES 3

Chuck Tomasi
Tera Patron

You can create a link directly to the attachment record. For example,



https://YOURINSTANCE.service-now.com/sys_attachment.do?sys_id=3cc358dadb8be2002e38711ebf96190d



You may just need a simple UI macro that you can place on the form that says "Download template here". Pretty straightforward.



http://wiki.servicenow.com/index.php?title=UI_Macros


Thanks Chuck, its working fine


If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.



If you are viewing this from the community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.



Thank you