<?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: Users select location for display on a map/dashboard in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/users-select-location-for-display-on-a-map/m-p/770079#M3563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jade,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the situation you describe (you have existing locations), it is normally recommended to provide the list as a single choice question and then calculate the location based on the response. &amp;nbsp;See the 'Calculate Location from Choice List' and 'Calculate Location from CSV' Samples available in Survey123 Connect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can geocode within the Survey123 map questions. &amp;nbsp;See&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/geopoints.htm#ESRI_SECTION1_48C66C92612A414F97F5D843DE8C909C" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/geopoints.htm#ESRI_SECTION1_48C66C92612A414F97F5D843DE8C909C"&gt;Geopoints—ArcGIS Survey123 | Documentation&lt;/A&gt;&amp;nbsp;for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like the layer of existing office locations is a resource that you would like to be used by the form, not the feature class that you want the responses to placed in. &amp;nbsp;It shouldn't be the submission URL. &amp;nbsp;I will note that with 3.10, Survey123 has introduced the option to query feature services for values in much the same way as you would use a CSV file; see&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2020/08/07/extending-survey123-smart-forms-with-custom-js-functions"&gt;Extending Survey123 smart forms with custom JS functions&lt;/A&gt;&amp;nbsp;and the 'JavaScript' sample for more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2020 22:50:54 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2020-08-07T22:50:54Z</dc:date>
    <item>
      <title>Users select location for display on a map/dashboard</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/users-select-location-for-display-on-a-map/m-p/770078#M3562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am making an internal survey and want participants to select what office they are located in so we do not capture their&amp;nbsp;current location. The ultimate goal is to display information from the survey on a map/dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Survey123 Connect, I populated a field with the office location that takes on this format (210 offices total): [Office Name], [Address format: Site Address, Suite, City, State, Zip Code, Country]&lt;/P&gt;&lt;P&gt;In the Survey123 Connect form, the field's type is select_one; appearance is autocomplete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reviewing the Q&amp;amp;A's in the forum, I feel like my request falls between these two posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/254019"&gt;Survey123: Best approach for selecting location from restricted list of villages&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/257334"&gt;location using address&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;1. &lt;SPAN style="color: #54585a; background-color: #ffffff;"&gt;Is there a way to display the office location data as the survey is filled out?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #54585a; background-color: #ffffff;"&gt;2. Is Survey123 capable of geocoding? It's certainly alluded to in the second link, but I'm having trouble finding the link to a tutorial/explanation.&amp;nbsp;Could someone provide me a link to a tutorial that goes over this workflow? Does this cost credits? If so, how many credits would this cost? We are anticipating 500 unique responses for this survey.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I have an existing feature service published with office locations and was able to create a form in Survey123 Connect. However, when I attempted to publish, I received this error:&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #54585a; background-color: #ffffff;"&gt;The custom feature service&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.arcgis.com/sharing/rest/content/items/e54e504948b14c4aa220809fa598b8f2" rel="nofollow noopener" style="color: #4298b5; background: transparent; text-decoration: none;"&gt;submission url&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is not compatible with this survey (fields not found in the feature service: 3).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Would this be a better approach to capturing this information? If so, how can I fix the data to get rid of this error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking the time to read and I hope to resolve this soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2020 22:10:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/users-select-location-for-display-on-a-map/m-p/770078#M3562</guid>
      <dc:creator>JadeDean1</dc:creator>
      <dc:date>2020-08-05T22:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Users select location for display on a map/dashboard</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/users-select-location-for-display-on-a-map/m-p/770079#M3563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jade,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the situation you describe (you have existing locations), it is normally recommended to provide the list as a single choice question and then calculate the location based on the response. &amp;nbsp;See the 'Calculate Location from Choice List' and 'Calculate Location from CSV' Samples available in Survey123 Connect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can geocode within the Survey123 map questions. &amp;nbsp;See&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/geopoints.htm#ESRI_SECTION1_48C66C92612A414F97F5D843DE8C909C" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/geopoints.htm#ESRI_SECTION1_48C66C92612A414F97F5D843DE8C909C"&gt;Geopoints—ArcGIS Survey123 | Documentation&lt;/A&gt;&amp;nbsp;for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like the layer of existing office locations is a resource that you would like to be used by the form, not the feature class that you want the responses to placed in. &amp;nbsp;It shouldn't be the submission URL. &amp;nbsp;I will note that with 3.10, Survey123 has introduced the option to query feature services for values in much the same way as you would use a CSV file; see&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2020/08/07/extending-survey123-smart-forms-with-custom-js-functions"&gt;Extending Survey123 smart forms with custom JS functions&lt;/A&gt;&amp;nbsp;and the 'JavaScript' sample for more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 22:50:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/users-select-location-for-display-on-a-map/m-p/770079#M3563</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2020-08-07T22:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Users select location for display on a map/dashboard</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/users-select-location-for-display-on-a-map/m-p/770080#M3564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James! Thanks for answering my question. I was able to find&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;'Calculate Location from CSV' but not&lt;SPAN&gt;&amp;nbsp;'Calculate Location from Choice List'&amp;nbsp;in Survey123.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;I have a follow up question. Using the&amp;nbsp;'Calculate Location from CSV' file as a reference, I created a CSV for the office locations, with a lat/long field. Then, I named the fields in the CSV the exact same as the reference file and copied the formulas exactly and filled in the field names to match my CSV. However, when I refresh in Survey123, I get the option for the office location on a map but it does not link with my coordinates. How can I fix this?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;The overall formula for the Lat/Long CSV data is:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;pulldata([CSV file name], [CSV field name], [CSV field name], [name of field in survey])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="width: 316px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: black; font-weight: 400; text-decoration: none; border-top: 0.5pt solid #9bbb59; border-right: none; border-bottom: none; border-left: none; width: 308px;"&gt;pulldata('office', 'LAT', 'officeID', ${Offices})&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: black; font-weight: 400; text-decoration: none; border-top: 0.5pt solid #9bbb59; border-right: none; border-bottom: none; border-left: none; width: 308px;"&gt;pulldata('office', 'LON', 'officeID', ${Offices})&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: black; font-weight: 400; text-decoration: none; border-top: 0.5pt solid #9bbb59; border-right: none; border-bottom: none; border-left: none; width: 308px;"&gt;concat(number(${LAT}), ' ', number(${LON}))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10pt; color: black; font-weight: 400; text-decoration: none; border-top: 0.5pt solid #9bbb59; border-right: none; border-bottom: none; border-left: none; width: 308px;"&gt;${locationcalculation}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE width="499"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: .5pt solid #9BBB59;" width="136"&gt;select_one office_list&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;" width="136"&gt;Offices&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;" width="227"&gt;Office&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: .5pt solid #9BBB59;"&gt;calculate&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;"&gt;LAT&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;" width="227"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: .5pt solid #9BBB59;"&gt;calculate&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;"&gt;LON&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;" width="227"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: .5pt solid #9BBB59;"&gt;calculate&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;"&gt;locationcalculation&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;" width="227"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: .5pt solid #9BBB59;"&gt;geopoint&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;"&gt;location&lt;/TD&gt;&lt;TD style="font-size: 10.0pt; color: black; font-weight: 400; text-decoration: none; border-top: .5pt solid #9BBB59; border-right: none; border-bottom: none; border-left: none;" width="227"&gt;Office location on a map&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2020 19:21:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/users-select-location-for-display-on-a-map/m-p/770080#M3564</guid>
      <dc:creator>JadeDean1</dc:creator>
      <dc:date>2020-08-11T19:21:56Z</dc:date>
    </item>
  </channel>
</rss>

