Changing display value of --None-- for Service Catalog variables

zachkenyon
ServiceNow Employee
ServiceNow Employee

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.

4 REPLIES 4

CapaJC
ServiceNow Employee
ServiceNow Employee

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.


Jim Coyne
Kilo Patron

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.


zachkenyon
ServiceNow Employee
ServiceNow Employee

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!


stephmcl303
Tera Guru

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.