Select to view content in your preferred language

Calculate function pulling business name for Map question instead of Address

229
1
08-22-2024 09:12 AM
MelanieBass
Occasional Contributor

I am working on building a survey in the web designer area and I noticed that the map function does not populate with an individual field with the address selected in the map. I want to be able to do this so it can be searchable in the layer by address. I currently have the esri world geocoder as the default map locator for the map question type. I added a single line text question after with the calculate turned on to pull in the matched address from that question as the answer. However, instead of giving the address it returns the business name. Is there a way to correct this? Do I need to build this in the survey123 connect? 

 

Note: I did create a custom locator but the calculate function was not working at all when it was set to it. It works in the map to find the address but gave nothing back for that field. I can't be the only one that wants the location as a separate field for their survey. 

MelanieBass_0-1724343037269.png

MelanieBass_1-1724343071387.png

 

1 Reply
abureaux
MVP Frequent Contributor

Ugh. Had this issue in Experience Builder. Super frustrating. Had it logged as a bug, and I believe they already fixed it there. This should probably be logged as a bug regardless.

Personally, I'd recommend always using Connect.

In Connect, you should be able to use reverse geocoding. That JSON response should contain the civic address which can then be extracted.

0 Kudos