Document ID Field - Reference qualifer

mangesh9
Mega Contributor

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.

1 ACCEPTED SOLUTION

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


find_real_file.png


find_real_file.png


View solution in original post

15 REPLIES 15

Chuck Tomasi
Tera Patron

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


Deepa Srivastav
Kilo Sage

Hi Mangesh,



You can do it through tablechoice script attribute. I have done it in one of my implementation.


Check below thread (only question)..



Table Type field query



Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.


Thanks,
Deepa


Hi Deepa,



Thanks for your response, this attribute works only for 'table_name' type of field?


yes ... your is same right   I mean table name type right?