Why are choice labels instead of choice names appearing in my arcgis online database?

289
1
06-13-2019 02:37 PM
LaurenMcGarvey
New Contributor II

Choice labels are appearing in my arcgis online database instead of choice name.  I thought the name was suppose to appear in the database?  Anyone know how I can fix this?

0 Kudos
1 Reply
BrettStokes
Esri Contributor

Hi Lauren,

You're right - the data is stored as the 'name' in the database. The 'name' / 'label' pair in your Survey123 choice list is converted into a coded domain when you publish to ArgGIS Online which is then used when viewing your data through the website.

You can prove this to yourself by opening the Service URL of your layer and then Query the REST service:

My example is using:

and the Query result is:

Hope this helps,

Brett

0 Kudos