Select Box in Catalog variable not working as expected

Learn SN
Tera Contributor

Hi Experts,

 

I have selected select box as variable type in a catalog item and under type specification i have given table and the filed but on item page nothing is coming in the select box. can someone tell what am I doing wrong ?

 

find_real_file.png

1 ACCEPTED SOLUTION

rad2
Mega Sage

select box will display the choices as a list. For ex - like the state field of incident table.

Does your asset_tag have choices?

How exactly do you want to show the asset tag in the catalog item?

If like a dropdown with all the asset tags, try using a lookup select box.

 

Hope this helps!

 

View solution in original post

3 REPLIES 3

rad2
Mega Sage

select box will display the choices as a list. For ex - like the state field of incident table.

Does your asset_tag have choices?

How exactly do you want to show the asset tag in the catalog item?

If like a dropdown with all the asset tags, try using a lookup select box.

 

Hope this helps!

 

Mark Roethof
Tera Patron
Tera Patron

Hi there,

It's like Rad describes. Select box will display choices. Asset tag is by default not a choice field (maybe in your instance it's customized, i don't know, but looking at out-of-the-box). What you are trying to achieve, will not work thru this chosen path.
To get a better feeling/understanding on how this works, for example selecting install_status [state], this will work.

For what you are trying to achieve. Have you also tried a type Reference?

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Munender Singh
Mega Sage

Hi,

Please follow these steps:

  1. In the form, right-click the field and select Configure Dictionary.
  2. Change the type to 'Refrence' from 'choice'
  3. In the Choice List Specification section, select one of the following options in the Choice field.
    • Dropdown with --None--
    • Dropdown without --None--
  4. Right-click the form header and click Save.
  5. Under Related Links, click Advanced view.
  6. In the Attributes field, add the following attribute, separated from other attributes by a comma.
    ref_auto_completer=AJAXReferenceChoice
  7. Click Update.

Regards,

Munender