How do you store custom metadata for attachments?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2016 08:28 PM
I find the ServiceNow attachment interface extremely barebones. Has anyone implemented a solution where additional metadata such as Document Type, Description, Tags etc. can be associated with attachments?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2016 11:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2016 07:44 AM
Hi Sergiu,
You are right, tags are in fact available on the attachment table. The issue though is that they are separately managed from a UI standpoint - the attachment UI component on records do not allow for tagging.
Secondly, tags lend themselves to simple values, not necessarily name-value (single or multi) pairs. So they cannot be (easily) used for custom metadata fields.
To step back, what I am trying to do here is provide a simple interface to users where they can upload documents as well as add custom metadata to it.
For example, if you retire an asset, there is a task to attach Certificate of Disposal. As-is, you can take a file and attach it to the asset record. If let's say there are two files in the process, an initial request confirmation from vendor and a CoD, the user would upload the two files. Now either you have to open and see which one is which, or rely on naming (which is constraining), or modify the interface. It also makes systemic rule enforcement difficult.
I was looking for ideas on if/how others have dealt with this problem.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2017 09:37 PM
Did you able to get the answer to your query; I am also looking for something similar to dd metadata with attachments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2017 09:45 AM
Javaid,
We ended up creating another table "Document" that has a Document ID field referencing our tables. We only allow attachments on this table.If files are attached to any of the top level tables, we have business rules that create linked Document records with the attachment and users can add metadata to Document.
That is the best we could come up with. I with the sys_attachment table and related SN functionality were richer.
HTH