Select to view content in your preferred language

How to get the name of a place given a location string xls form

672
2
02-09-2021 02:55 PM
AlejandroMadrigal
Emerging Contributor

HI!

When you calculate a location from a choice list, you get, at the data base, a string of coordinates, but not the name of the chosen place.

AlejandroMadrigal_0-1612911023853.png

I cannot find an expression to simply get the name of the chosen location at the database results, without (for instance) repeating the question with another choice list.

Any sugestions?

Thanks a lot!!

 

0 Kudos
2 Replies
BrettStokes
Esri Contributor

Hi Alejandro,

It sounds like you need to use the jr:choice-name() function to store the label of a selected item in your target feature layer instead of the name. Please take a look at the jr:choice-name section of the following blog for more details:

https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-xlsform-functions-...

Hope this helps,

Brett

0 Kudos
AlejandroMadrigal
Emerging Contributor

So grateful!

0 Kudos