- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2017 03:50 AM
Hi All,
I need to attach a excel file to below link then if i click that link need to download that file.How to do please help
Thanks In Advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2017 04:15 AM
Hello,
You need to upload the file in the instance and you need sys_id of the attachment record.
1. Upload the file.
2. Get the sys_id of the attachment from sys_attachment table (/sys_attachment_list.do).
3. Right click on the field and add below URL :
https://instance.service-now.com/sys_attachment.do?sys_id=1894eef4ef331000914304167b2256c2
Let me know for any question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2017 04:03 AM
Hi Immanuel,
You cannot directly attach file to the field.
if you want attach the file, then change field type to macro with label and write the UI macro for it to attach the Excel sheet.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2017 04:15 AM
Hello,
You need to upload the file in the instance and you need sys_id of the attachment record.
1. Upload the file.
2. Get the sys_id of the attachment from sys_attachment table (/sys_attachment_list.do).
3. Right click on the field and add below URL :
https://instance.service-now.com/sys_attachment.do?sys_id=1894eef4ef331000914304167b2256c2
Let me know for any question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2017 04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2017 04:45 AM
Hi,
Please find below reference docs. link to find which role is required for uploading attachment.
Require a role to attach files
I would say you need to upload the attachment/excel file to any record for example KB article and then check in sys_attachment table and get the sys_id.
Use that sys_id in the link.