<?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: Survey 123 Report Template Location Coordinates in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-location-coordinates/m-p/1410528#M56235</link>
    <description>&lt;UL&gt;&lt;LI&gt;Generally speaking, when you create a Feature Report, you can &lt;U&gt;only&lt;/U&gt; reference fields you add to your survey yourself. A few exceptions exist for fields that Esri automatically adds to all published surveys (e.g., ObjectID).&lt;/LI&gt;&lt;LI&gt;When referencing fields in your survey, you must reference the field &lt;EM&gt;name&lt;/EM&gt;. To get a field &lt;EM&gt;name&lt;/EM&gt; you can either open the XLSX and look in the &lt;EM&gt;name&lt;/EM&gt; column, or go to the Schema tab in Connect and look in the Fields column (note: if using this second approach, you many need to swap between layers/tables using the Layyers/Tables column).&lt;/LI&gt;&lt;LI&gt;The fields &lt;STRONG&gt;x, and y&lt;/STRONG&gt; are a little odd. They always exist, but you can't call upon them in Feature Reports. (I feel like this is a deficiency and should change). Adding ${x} to your Feature Report will result in the error you saw, even though you can see x and y as columns when you export data.&lt;/LI&gt;&lt;LI&gt;If you add a geopoint to your survey, you can reference it and pull data as needed. In my case, I added a geopoint called ${fred}.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1713292728806.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101098i256E2BADBE8D6812/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1713292728806.png" alt="abureaux_0-1713292728806.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;To use ${fred} in a Feature Report, I have a few options:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;${fred}&lt;/STRONG&gt; will result in an image being added to the Feature Report with the location.&lt;BR /&gt;Result is:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1713293632754.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101100i848EC5A985AE5178/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1713293632754.png" alt="abureaux_1-1713293632754.png" /&gt;&lt;/span&gt;&lt;BR /&gt;This is pretty useless most of the time.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;${fred | mapSettings:””:5000}&lt;/STRONG&gt; zooms to a scale of 1:5000.&lt;BR /&gt;Result is:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_2-1713293642784.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101101i2F06E3ABF902ADBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_2-1713293642784.png" alt="abureaux_2-1713293642784.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Much better!&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;${fred | getValue:"x"}&lt;/STRONG&gt; will result in the x value being printed.&lt;BR /&gt;Result is:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;FONT color="#FF00FF"&gt;-113.54919999999998&lt;/FONT&gt;&lt;BR /&gt;This is pretty useless most of the time.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;${fred | getValue:"x" | round:3}&lt;/STRONG&gt; Rounds to 3 decimal places.&lt;BR /&gt;Result is:&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;-110.301&lt;/FONT&gt;&lt;BR /&gt;Much better!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;${fred | mapSettings:”667de8a61b50499f96ae11c3fb7aa6ff”:5000 | size:350:350}&lt;/STRONG&gt; Uses a specific basemap, sets the scale to 1:5000, and sets the images size to 350:350. This is the best way to display a geopoint IMO.&lt;BR /&gt;Result is:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_3-1713293913736.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101102iD9A0BB7231B73AF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_3-1713293913736.png" alt="abureaux_3-1713293913736.png" /&gt;&lt;/span&gt;&lt;BR /&gt;${Fred} is looking beautiful now!&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you are curious where the map ID comes from (e.g.,667de8a61b50499f96ae11c3fb7aa6ff), you can either get that from any map you publish to your Portal, or from the Living Atlas. Just go to the map and copy the Map ID from the URL bar. E.g.,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_5-1713293994387.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101104i68C1B00B5B02CF24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_5-1713293994387.png" alt="abureaux_5-1713293994387.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 19:05:37 GMT</pubDate>
    <dc:creator>abureaux</dc:creator>
    <dc:date>2024-04-16T19:05:37Z</dc:date>
    <item>
      <title>Survey 123 Report Template Location Coordinates</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-location-coordinates/m-p/1410502#M56232</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I am new to Esri. I have been searching how to add location as coordinates in the report. When I export the data as excel, it has the coordinates as "x" and "y". But when I tried using this syntax, I have the error message "Failed to parse &lt;/SPAN&gt;&lt;I&gt;${location | getValue:"x"}&lt;/I&gt;&lt;SPAN&gt; since &lt;/SPAN&gt;&lt;I&gt;location&lt;/I&gt;&lt;SPAN&gt; cannot be found in the current parsing scope."&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can someone please help? Thanks &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 18:21:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-location-coordinates/m-p/1410502#M56232</guid>
      <dc:creator>GaylynFlowers</dc:creator>
      <dc:date>2024-04-16T18:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Survey 123 Report Template Location Coordinates</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-location-coordinates/m-p/1410528#M56235</link>
      <description>&lt;UL&gt;&lt;LI&gt;Generally speaking, when you create a Feature Report, you can &lt;U&gt;only&lt;/U&gt; reference fields you add to your survey yourself. A few exceptions exist for fields that Esri automatically adds to all published surveys (e.g., ObjectID).&lt;/LI&gt;&lt;LI&gt;When referencing fields in your survey, you must reference the field &lt;EM&gt;name&lt;/EM&gt;. To get a field &lt;EM&gt;name&lt;/EM&gt; you can either open the XLSX and look in the &lt;EM&gt;name&lt;/EM&gt; column, or go to the Schema tab in Connect and look in the Fields column (note: if using this second approach, you many need to swap between layers/tables using the Layyers/Tables column).&lt;/LI&gt;&lt;LI&gt;The fields &lt;STRONG&gt;x, and y&lt;/STRONG&gt; are a little odd. They always exist, but you can't call upon them in Feature Reports. (I feel like this is a deficiency and should change). Adding ${x} to your Feature Report will result in the error you saw, even though you can see x and y as columns when you export data.&lt;/LI&gt;&lt;LI&gt;If you add a geopoint to your survey, you can reference it and pull data as needed. In my case, I added a geopoint called ${fred}.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1713292728806.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101098i256E2BADBE8D6812/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1713292728806.png" alt="abureaux_0-1713292728806.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;To use ${fred} in a Feature Report, I have a few options:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;${fred}&lt;/STRONG&gt; will result in an image being added to the Feature Report with the location.&lt;BR /&gt;Result is:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1713293632754.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101100i848EC5A985AE5178/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1713293632754.png" alt="abureaux_1-1713293632754.png" /&gt;&lt;/span&gt;&lt;BR /&gt;This is pretty useless most of the time.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;${fred | mapSettings:””:5000}&lt;/STRONG&gt; zooms to a scale of 1:5000.&lt;BR /&gt;Result is:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_2-1713293642784.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101101i2F06E3ABF902ADBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_2-1713293642784.png" alt="abureaux_2-1713293642784.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Much better!&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;${fred | getValue:"x"}&lt;/STRONG&gt; will result in the x value being printed.&lt;BR /&gt;Result is:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;FONT color="#FF00FF"&gt;-113.54919999999998&lt;/FONT&gt;&lt;BR /&gt;This is pretty useless most of the time.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;${fred | getValue:"x" | round:3}&lt;/STRONG&gt; Rounds to 3 decimal places.&lt;BR /&gt;Result is:&lt;BR /&gt;&lt;FONT color="#FF00FF"&gt;-110.301&lt;/FONT&gt;&lt;BR /&gt;Much better!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;${fred | mapSettings:”667de8a61b50499f96ae11c3fb7aa6ff”:5000 | size:350:350}&lt;/STRONG&gt; Uses a specific basemap, sets the scale to 1:5000, and sets the images size to 350:350. This is the best way to display a geopoint IMO.&lt;BR /&gt;Result is:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_3-1713293913736.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101102iD9A0BB7231B73AF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_3-1713293913736.png" alt="abureaux_3-1713293913736.png" /&gt;&lt;/span&gt;&lt;BR /&gt;${Fred} is looking beautiful now!&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If you are curious where the map ID comes from (e.g.,667de8a61b50499f96ae11c3fb7aa6ff), you can either get that from any map you publish to your Portal, or from the Living Atlas. Just go to the map and copy the Map ID from the URL bar. E.g.,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_5-1713293994387.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101104i68C1B00B5B02CF24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_5-1713293994387.png" alt="abureaux_5-1713293994387.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 19:05:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-location-coordinates/m-p/1410528#M56235</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-04-16T19:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Survey 123 Report Template Location Coordinates</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-location-coordinates/m-p/1414964#M56462</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you so much for the explanation. Could you please help me to take a look? I am still having the same error even though I pulled with the same name from XLSForm.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaylynFlowers_2-1713988739031.png" style="width: 667px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102065i2E6CB8A218EF2B67/image-dimensions/667x75?v=v2" width="667" height="75" role="button" title="GaylynFlowers_2-1713988739031.png" alt="GaylynFlowers_2-1713988739031.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GaylynFlowers_1-1713988690257.png" style="width: 576px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102064i20C6DA1939372370/image-dimensions/576x85?v=v2" width="576" height="85" role="button" title="GaylynFlowers_1-1713988690257.png" alt="GaylynFlowers_1-1713988690257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 20:06:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-location-coordinates/m-p/1414964#M56462</guid>
      <dc:creator>GaylynFlowers</dc:creator>
      <dc:date>2024-04-24T20:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Survey 123 Report Template Location Coordinates</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-location-coordinates/m-p/1414974#M56463</link>
      <description>&lt;P&gt;Any chance you can upload the DOCX and XLSX files? That would help.&lt;/P&gt;&lt;P&gt;I see you swapped between upper and lower case in the XLSX. You will also need to match case. As such, the first screen cap of the lower case "location" properly matches the lower case "location" in your Feature Report parsing error.&lt;/P&gt;&lt;P&gt;And just to confirm. In Connect, when you go to the "" tab, do you see "location"?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1713989438261.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102067iB3573D150D3F2890/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1713989438261.png" alt="abureaux_0-1713989438261.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you don't see "location" in this list, here are some common issues:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You forgot to republish your survey, meaning "location" isn't in the Feature Layer yet.&lt;/LI&gt;&lt;LI&gt;You set bind::esri:fieldType to "null", meaning "location" will not be added to the Feature Layer.&lt;/LI&gt;&lt;LI&gt;Your field is located within a repeat. While "location" has been added to your Feature Layer, it was added to a related table, meaning you need to reference it differently in the Feature Report.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 24 Apr 2024 20:13:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-123-report-template-location-coordinates/m-p/1414974#M56463</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-04-24T20:13:40Z</dc:date>
    </item>
  </channel>
</rss>

