List field displaying choice values instead of labels

Mark Roethof
Tera Patron
Tera Patron

Hi all,

I've just added a new field of type 'List' to my form (in this case sn_risk_risk). On the new field I've added several choices. Not that difficult I would think, looks to work, though...
+ When selected a choice, it's displayed fine in the choice list
- In the list the value is suddenly showed and not the label
- When the list is locked, only values are visible, no the labels

Double checked the choices and their values / labels: all ok.

I've must have overlooked something. Any ideas? An attribute perhaps? Or should I go for a different solution? The requirement is to have the possibility to select multiple choices.

find_real_file.png

find_real_file.png

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

1 ACCEPTED SOLUTION

I've never seen a list field used this way, so I'm guessing it's unsupported.  In any case, it appears that it doesn't work in a choice list configuration.  The simple solution is just to change it to a reference type list and go from there.

Please mark this response as correct if I've answered your question.  Thanks!

View solution in original post

5 REPLIES 5

Mark Stanger
Giga Sage

If you have your list field configured to display choice values in a list, does it work correctly if you display it as a reference type?  Can you take a screenshot of your dictionary entry for this field and post it?

Mark Roethof
Tera Patron
Tera Patron

If changing to a reference and some table, all is directly fine.
Also nothing fancy on the field, It's just plain new nothing added besides choices.

Hmmmmm...
Might the field type 'List' not be intended for using choices? Docs is mentioning "Reference field that accepts multiple references rather than just one". Also did a check on my developer instance, could not find a single example of a List field with choices.

Maybe I'm on the wrong track? And should use a reference on the list field?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

I've never seen a list field used this way, so I'm guessing it's unsupported.  In any case, it appears that it doesn't work in a choice list configuration.  The simple solution is just to change it to a reference type list and go from there.

Please mark this response as correct if I've answered your question.  Thanks!

It would be possible with renaming the choices, though then I would get labels with spaces, slashes etc which is bad practice 🙂

Just switched to a reference type and a new referencing table. All fine!

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn