How to Attach a word document to a variable on a catalog Item and make it downloadable ?

ursnani
Giga Guru

have requirement as follows:

I have a document which should be available for End user to download and fill that document and he has to attached the following document.

I was in dilemma on how to achieve this ?

The attachment must be available in middle of the variables

Exactly as follows:

i have a drop down variable and if I select one value from the drop down values. A link with "any name"( With my specific name for that link) should appear for user to download the document.

can anyone please help me on how to meet this requirement.

1 ACCEPTED SOLUTION

Thanks for the details. In that case you have to upload the attachment to sys_attachment table and refer the same URL(URL which links to attachment table) attachment for all catalog items.


Let me know if you have any questions.


View solution in original post

9 REPLIES 9

Hello Ursnani,



Sure the link will be constructed as


https://YOURINSTANCENAME.service-now.com/sys_attachment.do?sys_id=18465214998902006604821bbb93ed1f



Here Replace 18465214998902006604821bbb93ed1f with exact sys_id of the attachment record. You can get sys_id of the record by right clicking on the exact record and select action "Copy Sys_id".


Screenshot for reference.


Screen Shot 2017-04-30 at 8.47.38 PM.png


Thanks Pradeep,



It worked perfectly now i can Download the attachment, but i having a new issue now.



once I click on the link all the fields are disappearing and i can see a blank page but not the request page.



do you have any idea why this is happening ???


Can you please share the screenshot.


Before Clicking the link.


find_real_file.png



After clicking the link.



find_real_file.png



All the variable are gone and i am seeing the blank screen after clicking the link


Hi Pradeep, just one question

In your example, we can refer the DEV instance, but if we move the UpdateSet to another instances,will the URL be replaced to the other instances like TEST and PROD?