Changing display value of --None-- for Service Catalog variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2012 08:27 AM
http://wiki.servicenow.com/index.php?title=Customizing_Choice_Lists#Changing_the_--_None_--_Display_...
The above article shows how to change the display value for the --None-- option on a choice list in a form, but is it possible to change the display value for --None-- on Service Catalog choice variables?
I tried creating a choice with value of NULL_OVERRIDE as the article instructed but it doesn't seem to work for Service Catalog variables.
I'd like to have the default choice say something like --Select an Option-- rather than --None-- for some of my variables.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2012 09:08 AM
I had a look, and there currently isn't any code in place to support the null override concept for Catalog variables. It's a solid idea for an enhancement request for a future release.
In the meantime, I suppose you could omit the "none" option, and create a new option that serves the same purpose with the label you want. It gets trickier when you want to make that variable "mandatory", but I think it could be done with catalog client scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2012 11:22 AM
Take a look at my post here: Changing "-- None --" in Select Box variables on catalog items
And notice my last reply on Tue, 03/13/2012.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2012 11:58 AM
Thanks for the quick reply. Yes, I need the variable to be mandatory. I'll look into a solution using client scripts.
Edit: I'll give that a try, thank you Jim!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-02-2015 03:43 AM
Another option we explored was to change the default message for -- None -- to -- Please Select -- using System UI> messages.
This does mean the change is system wide which you may not be looking for.