- 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 08:52 AM
You are very welcome. Don't forget to mark some of these responses helpful (it was a bit of a journey) and ultimately, one of them correct, so others can find the solution quickly if they want to use document IDs in the future.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2019 12:16 AM
Hi Chuck
I have added tableChoiceScript attribute to my dependent tableName field. My script include returns table names based on a condition. When form loads my dependent tableName field shows correct data. But my document Id field shows only one table from my dependent tableName field.
Thanks
Satya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 07:15 AM
Yeah I have same finding as of now, not sure if there could be any way to have only specific tables in Table name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 07:19 AM
Search by tableChoicesScript in below link..
Dictionary Attributes - ServiceNow Wiki
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:21 AM
That's awesome. I knew there had to be a way!