How can I change a choice field to a string field

HugoFirst
Kilo Sage

I have a field on a custom table which is of type Choice.  I need to convert it to a type String.

In my nonprod instance, I was able to make the change from Choice to String in the dictionary entry.  But the field still appears on the form as a choice field, not a string textbox.  What am I missing?

1 ACCEPTED SOLUTION

Niklas Peterson
Mega Sage
Mega Sage

Hi,

Check the Choice field on the Choice List specification. It should be none.

 

NiklasPeterson_0-1696445170426.png

 

 

Regards,
Niklas

View solution in original post

3 REPLIES 3

Niklas Peterson
Mega Sage
Mega Sage

Hi,

Check the Choice field on the Choice List specification. It should be none.

 

NiklasPeterson_0-1696445170426.png

 

 

Regards,
Niklas

This was the issue.  Just changing the type was not enough.  I had left the "Choice" options set to "Dropdown with --None--".  

HugoFirst_0-1696445687966.png

When I changed it to "none" it all started working.   Thank you Niklas Peterson!

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Technically a choice field is a string type field. You often also see fields which look like a choice, though opening the dictionary is says string.

 

It could be what Niklas mentioned. If not, please share some screenshots of your dictionary entry.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn