How to override choice --None-- with custom value for Glide list field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 04:44 AM
For an glide list field we have created choices. For that field we want to override choice label "--None--" with custom label.
Please help us on the same .
Thanks in Advance.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2019 06:38 AM
If that's the case, you need to check for client scripts or UI Policy scripts that are taking actions on that field because the OOTB behavior for choice list without --None-- works fine. Make sure that you use the value for your default field and not hte label.
Try this in a PDI or dev instance. Create a new field call it whatever you want. Add a few choices to it. Go into the dictionary and set it as choice list without --None--. Be sure to set a default.
I'm attaching a couple of screen prints. The first shows the setup for such an field
and the second how the choices are displayed.
Hope that helps.
:{)
Helpful and Correct tags are appreciated and help others to find information faster
:{)
Helpful and Correct tags are appreciated and help others to find information faster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2019 12:07 AM
Hi John,
I need for the field type List, but in the screen shot type is String.
Regards,
Vishnu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 07:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 07:09 AM
Change the choice list specification from Dropdown with -None- to Dropdown without -None-. It's on the choice list specification tab.
Hope that helps.
:{)
Helpful and Correct tags are appreciated and help others to find information faster
:{)
Helpful and Correct tags are appreciated and help others to find information faster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2019 01:16 AM
Hi Vishnu,
Just select the choice specification as "Dropdown without none" and then according to your sequence values your custom field will appear in the list. Make sure that "--Custom--" is having sequence number at lowest.
Hope that will help
Please mark it correct and helpful if it resolves the purpose.
Mohit Kaushik
ServiceNow MVP (2023-2025)