- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2024 06:31 AM - edited 01-19-2024 06:40 AM
I have a "Table Name" field. If there is no tableChoicesScript attribute, I can see both table labels and table names in the list:
But if I use tableChoicesScript filter, then only table labels are displayed.
Filter example:
Is it possible to use tableChoicesScript filter and display table names?
One more question: is it possible to add "-- None --" option to the filtered tables list?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 12:34 AM
The valid answer is to use attributes:
- tableChoicesScript=<HelperScriptInclude>
- includeNone=true
- show_table_names_on_label=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2024 06:41 AM
I think we should show both the things because suppose if you want to select user table but you will not be able to select correct one. Above application example also you can check, which one to select you will not be able to decide.
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.
********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect
Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2024 12:34 AM
The valid answer is to use attributes:
- tableChoicesScript=<HelperScriptInclude>
- includeNone=true
- show_table_names_on_label=true