- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 06:55 AM
Hello,
Can we have reference qualifier for Document ID field so that only specific tables should be populated in 'Table Name' field in Select Document Window.
Thanks in Advance.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
-
Team Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 08:32 AM
Hi Mangesh,
I understand. to filter that table you need to go to the dependent table name's dictionary entry and add the attribute tableChoicesScript that calls a script include function. See the dictionary entry for sys_dictionary.choice_table as an example.
It points to a script called DictionaryChoiceTables

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 07:07 AM
Hi Mangesh,
In all samples I looked at, the document ID uses a dependent table field. I don't see a way to filter those tables beyond filtering in/out the system tables or including base tables.
http://wiki.servicenow.com/index.php?title=Creating_a_Document_ID_Field#gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 07:10 AM
Hi Mangesh,
You can do it through tablechoice script attribute. I have done it in one of my implementation.
Check below thread (only question)..
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
Thanks,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 07:58 AM
Hi Deepa,
Thanks for your response, this attribute works only for 'table_name' type of field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 08:03 AM
yes ... your is same right I mean table name type right?