how to attach an excel file in sys_attachment table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 02:44 AM
Hi Developer,
I am working on a module which one already developed before and now i got a chance to work on it to fix the issues. But the isssue is like below:
1)
when i am clicking on "click here" , it is redirecting to my developer instance , sys attachment as below
means it is going to my sys attachment table but not finding the sysid of that attachment.
So for this what i have to do. i am thinking to like as below:
1) I will go to my dev instance ----> sys_attachment table- and there i will create upload the file but there is no new button as below
so what i will do , when the user will click on "click here" option , it shoud show the file or download the file .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 07:54 AM
Hi Manmathpanda,
Does that file exist in your Production environment? It just may not have been cloned down to your Dev environment, try changing the ServiceNow instance name in the URL to the Production instance and see if it downloads. If so, then this is only an issue in your Dev environment and the Attachment wasn't cloned down.
Thanks,
Josh