Download attachment by passing file_name instead of sys_id
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2022 12:04 PM
We are able to download an attachment using the sys id by using the below URL in the web browser or postman.
https://servicenow-instance.ourdomain.com/sys_attachment.do?sys_id=21e63dce1fbec118fb5252c7b04cbcd4
Can we download an attachment by querying just with the filename?
I tried: https://servicenow-instance.ourdomain.com/sys_attachment.do?file_name=myfile.xls but it didn't work.
Thanks in advance.
Labels:
- Labels:
-
Multiple Versions
15 REPLIES 15
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2022 02:17 AM
Thank you so much Hitoshi. Your help is much appreciated.
Yes, multiple calls to ServiceNow would not be a problem.
Thanks again & Take care,
Ovin