- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2019 02:10 AM
When we have a 'File Attachment' type field in a table, and we attach a file in that table's form for that field; where are the attachments saved?
As in, in which table are the field's attachment records saved?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2019 02:22 AM
Hi Pranshu,
all attachments are stored in sys_attachment table and metadata for that attachment is stored in sys_attachment_doc
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2019 11:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2019 11:49 PM
Hi Pranshu,
When you have a File attachment type of field the data gets stored in sys_attachment table with the table name as starting with ZZ
Are you adding the txt file to that file type of field on form?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 10:26 AM
Hi Ankur,
Can you please look at my similar question?
Thanks,
Ashraf
