<?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 Select a value from a list and create a point in the centroid of the corresponding polygon in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/select-a-value-from-a-list-and-create-a-point-in/m-p/1599969#M61880</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a scenario where surveys related to properties are compiled mostly in office and not on site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Survey is already set up to pull data from a layer when the point is placed on the polygon, but when the survey is submitted from office, the customer is lamenting that the point is not in the correct location.&lt;/P&gt;&lt;P&gt;Of course this could be solved by opening the map and place the point in the right location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, given the fact that I can pull info from a polygon, I was wondering if the opposite is possible: &lt;STRONG&gt;select a property from a list and create the geopoint of the survey in the centroid of that same property.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This has to be dynamic as property can change quite often.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2025 15:19:36 GMT</pubDate>
    <dc:creator>PanGIS</dc:creator>
    <dc:date>2025-03-27T15:19:36Z</dc:date>
    <item>
      <title>Select a value from a list and create a point in the centroid of the corresponding polygon</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-a-value-from-a-list-and-create-a-point-in/m-p/1599969#M61880</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a scenario where surveys related to properties are compiled mostly in office and not on site.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Survey is already set up to pull data from a layer when the point is placed on the polygon, but when the survey is submitted from office, the customer is lamenting that the point is not in the correct location.&lt;/P&gt;&lt;P&gt;Of course this could be solved by opening the map and place the point in the right location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, given the fact that I can pull info from a polygon, I was wondering if the opposite is possible: &lt;STRONG&gt;select a property from a list and create the geopoint of the survey in the centroid of that same property.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This has to be dynamic as property can change quite often.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 15:19:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-a-value-from-a-list-and-create-a-point-in/m-p/1599969#M61880</guid>
      <dc:creator>PanGIS</dc:creator>
      <dc:date>2025-03-27T15:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select a value from a list and create a point in the centroid of the corresponding polygon</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-a-value-from-a-list-and-create-a-point-in/m-p/1599978#M61881</link>
      <description>&lt;P&gt;Without DOM support to calculate the centroid through JS and no builtin functions for the XLS form to calculate a centroid, you would need the data to be already present with whichever feature layer you were accessing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you set up a column for Lat/Long for centroid on the associated Polygon layer, you should be able to use pulldata to query those values and use them.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 15:37:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-a-value-from-a-list-and-create-a-point-in/m-p/1599978#M61881</guid>
      <dc:creator>AustinAverill</dc:creator>
      <dc:date>2025-03-27T15:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Select a value from a list and create a point in the centroid of the corresponding polygon</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-a-value-from-a-list-and-create-a-point-in/m-p/1600019#M61883</link>
      <description>&lt;P&gt;The URL you feed into &lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_BB97985CAFB740EE8AEF99EFD6E238E3" target="_self"&gt;&lt;FONT face="courier new,courier"&gt;pulldata("@layer")&lt;/FONT&gt;&lt;/A&gt; can accept most URL parameters that work with the REST API's &lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer/#request-parameters" target="_self"&gt;query endpoint&lt;/A&gt;. Try adding&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;Centroid=true&lt;/FONT&gt; as a parameter so the polygon is transformed into a point. If that fails&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/77685"&gt;@AustinAverill&lt;/a&gt;'s method should work well.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 17:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-a-value-from-a-list-and-create-a-point-in/m-p/1600019#M61883</guid>
      <dc:creator>DavidSolari</dc:creator>
      <dc:date>2025-03-27T17:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Select a value from a list and create a point in the centroid of the corresponding polygon</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-a-value-from-a-list-and-create-a-point-in/m-p/1600033#M61884</link>
      <description>&lt;P&gt;I have never know that returnCentroid was even a request parameter! Though, I predominantly deal with line and point data...&lt;/P&gt;&lt;P&gt;Learn something new every day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 17:40:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-a-value-from-a-list-and-create-a-point-in/m-p/1600033#M61884</guid>
      <dc:creator>AustinAverill</dc:creator>
      <dc:date>2025-03-27T17:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select a value from a list and create a point in the centroid of the corresponding polygon</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-a-value-from-a-list-and-create-a-point-in/m-p/1603810#M62061</link>
      <description>&lt;P&gt;Thanks to both of you!&lt;BR /&gt;&lt;BR /&gt;while the first attempt was on&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/77685"&gt;@AustinAverill&lt;/a&gt;&amp;nbsp; suggestion, I then proceeded with&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4413"&gt;@DavidSolari&lt;/a&gt;&amp;nbsp;one.&lt;BR /&gt;&lt;BR /&gt;but the result was the same for both, no error whatsoever, just blank fields.&lt;BR /&gt;I attached the David's sugg attempt.&lt;BR /&gt;if you have time and what to have a look to see what is wrong there.&lt;BR /&gt;&lt;BR /&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 15:35:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-a-value-from-a-list-and-create-a-point-in/m-p/1603810#M62061</guid>
      <dc:creator>PanGIS</dc:creator>
      <dc:date>2025-04-08T15:35:27Z</dc:date>
    </item>
  </channel>
</rss>

