Choice list in Field Dictionary

Shaik Abdul Mu1
Giga Expert

Hi All,

I want to create a new choice in 'Sub Category' field. 

I tried creating a choice through field dictionary but in the 'choices' tab I'm not able to see old choices. And there is no client script responsible for choice creation in Sub Category field.

Please check below snip

find_real_file.png

I tried adding " Choice table " field through form layout but no luck.

I want to know how old choices have been created. Where can I check?

 

Any quick response will be most helpful.......

Thanks in Advance

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

If you check the XML, what is in the Choice table field? My guess is, you have the Choice table + Choice field set, therefor inheriting choices from an other table. This will also cause that you don't see choices, because these are on an other table.

(also double check the field type, for new choices somehow servicenow puts field type string?!)

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

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

View solution in original post

5 REPLIES 5

Mark Roethof
Tera Patron
Tera Patron

Hi there,

If you check the XML, what is in the Choice table field? My guess is, you have the Choice table + Choice field set, therefor inheriting choices from an other table. This will also cause that you don't see choices, because these are on an other table.

(also double check the field type, for new choices somehow servicenow puts field type string?!)

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

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

Hello Mark,

Thank you for the quick response, it helped me in achieving what I need.

Both "Choice field, Choice table" fields contains values. I have changed accordingly on the source field.

 

But when I tried to add "Choice table" field through form layout, I'm not able to see it on the form. I tried multiple times but no luck.

Could you please tell me why so??

 

Regards

Abdul Musavvir

Is this on a out-of-the-box form? Then I can try reproducing it. Though, I would guess a UI Policy or Client Script is hiding the field.

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

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

Looking really quickly on my PDI, I saw a UI Policy on sys_dictionary "Show/Hide Choice Table".

Check if the conditions match in your case. Because it looks like this UI Policy controls the visibility of the Choice Table field.

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

Kind regards,
Mark

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn