Select to view content in your preferred language

Can External Choice List Display Label in Coded Domain Field?

273
0
07-22-2022 02:37 PM
mfavorito1995
New Contributor II

Hi,

I am working on a survey in which I use the search() appearance to pull choices from a separate feature service. The field that I am getting the choices from has a coded domain. Currently, the choices that populate in the dropdown are the codes, which in this case are numeric values that would not make sense to a user. I would like to know if there is a way to have the labels display as the choices. The labels in this case are easily understandable categories which a user could choose from.

I've got another field in the same table that could serve as a lookup value for the field I am currently using for the choice list. A potential workaround I have sketched out but not tried would be to have the choice list use the alternative field and then create a custom javascript function return the correct value?

Any help is appreciated!

0 Kudos
0 Replies