<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calculated Address field now only using Current Location in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-address-field-now-only-using-current/m-p/1229334#M45913</link>
    <description>&lt;P&gt;Ok, since this is still not working, I've added code on the back-end. The survey has a web-trigger that talks to a Python Azure Function. I now have that function basically reading the x,y coordinates and sending them through the ArcGIS Geocoding Service and returning an address. This is then used to backfill that field in the survey table.&lt;/P&gt;&lt;P&gt;Admittedly, this is a slower process, but for now, at least, I've got something that works. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Nov 2022 21:03:32 GMT</pubDate>
    <dc:creator>RogerAsbury</dc:creator>
    <dc:date>2022-11-07T21:03:32Z</dc:date>
    <item>
      <title>Calculated Address field now only using Current Location</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-address-field-now-only-using-current/m-p/1228412#M45841</link>
      <description>&lt;P&gt;This seems to have just started in the past day or two, and I can't think of anything I may have changed to cause the issue.&lt;/P&gt;&lt;P&gt;In a survey, I have a map and when the survey taker places a marker on it, a hidden field calculates a physical address for that marker. However, in the past couple of days, what I've seen is that, while the marker gets placed correctly, the calculated address is the current location of the survey taker (assuming they have let their browser know their current location.)&lt;/P&gt;&lt;P&gt;For example, in the image below, the point is clearly placed on Gloria Ave., but the survey's calculated field has the address as 907 Terminal St., the building I work in and where I created the test submission from.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="incorrect.png" style="width: 432px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/55215iF74782C56142FDA8/image-size/large?v=v2&amp;amp;px=999" role="button" title="incorrect.png" alt="incorrect.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The line in Survey123 Connect that is doing the calculation is:&amp;nbsp;&lt;/P&gt;&lt;TABLE width="166"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="166"&gt;pulldata("@geopoint",${location_of_problem},"reversegeocode.address.Match_addr")&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where location_of_problem is the geopoint field the user enters the location of their issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tested this on a couple devices and browsers. None result in the correct address anymore, and some, for example iPhone using the Chrome browser, result in no address being returned at all.&lt;/P&gt;&lt;P&gt;There is some funkiness in how that map is chosen, so I'm including the form.xlsx, but I believe it was working even with that. I first noticed this yesterday.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 16:59:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculated-address-field-now-only-using-current/m-p/1228412#M45841</guid>
      <dc:creator>RogerAsbury</dc:creator>
      <dc:date>2022-11-03T16:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Address field now only using Current Location</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculated-address-field-now-only-using-current/m-p/1229334#M45913</link>
      <description>&lt;P&gt;Ok, since this is still not working, I've added code on the back-end. The survey has a web-trigger that talks to a Python Azure Function. I now have that function basically reading the x,y coordinates and sending them through the ArcGIS Geocoding Service and returning an address. This is then used to backfill that field in the survey table.&lt;/P&gt;&lt;P&gt;Admittedly, this is a slower process, but for now, at least, I've got something that works. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 21:03:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculated-address-field-now-only-using-current/m-p/1229334#M45913</guid>
      <dc:creator>RogerAsbury</dc:creator>
      <dc:date>2022-11-07T21:03:32Z</dc:date>
    </item>
  </channel>
</rss>

