- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2024 05:16 AM - edited 07-28-2024 05:17 AM
Hello, I'm trying to use the Dictionary Entry Override, where the Attributes were "allow_null=false" with the objective that in the choice field (State) don't appear the option "-- None --" how it's now:
I defined this attribute to false or true, and don't works, like showed in the next screenshot:
And the "-- None --" option continuous appear yet.
Anyway, I want to know how I can hide the "-- None --" option in the for.
Reference: Dictionary attributes (servicenow.com)
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2024 07:52 AM
Hi there,
Interesting one to perhaps also raise a ServiceNow Support Case for.
Most attributes do work for dictionary override, though it looks like this one (with both true and false) doesn't. I also don't see any out-of-the-box dictionary overrides with this allow_null=false.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2024 05:24 AM - edited 07-28-2024 05:26 AM
Hi @Gilmar Adrian ,
try
or use client scritp to hide using g_form.removeOption();
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2024 06:05 AM
Hi @Sohail Khilji,
Thanks for your answer! But, won't be possible because the State it's an inherited field.
About the second option: how I can retire the "-- None --"? If the intern value is null/empty? Just put '' how parameter to the removeOption() function?
g_form.removeOption('');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2024 06:10 AM
dont you see an option called ''include none'' in type specification tab ?
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2024 07:28 AM
No, because it's an inherited field. For this reason that I need to use the Dictionary Override with the attributes. And I can't change the original Dictionary entry at the Task table because the impact with