Using Document ID field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2014 03:12 PM
Hi folks -
I've a use case where I want to be able to relate a particular "Any" Service Now record (i.e a specific sys_id on any table) I discovered that this can be acheived by adding a field of type DocumentID on the table. Wiki provides information about how to configure it on a form .
However, I do not see more information about how to use that field within scripts to get to that particular related record.
Can someone help me with links to documentation if available .. or provide an example of how I can use the document ID field.
Regards,
Abhijeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2016 02:59 PM
Just came across the answer in Create a document ID field
10. (Optional) In Attributes, add the show_all_tables dictionary attribute to display system tables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2016 01:42 PM
Is it possible to limit the number of tables shown? when we give show_all_tables, the user needs to scroll down a huge list of table to select the particular one...
My requirement is, i would like to display only "User" table and "one of my custom table".. is it possible to do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 05:36 AM
Do you have any solution for this ?.... I too have similar requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 12:57 AM
you can edit the code to show specific tables