<?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: Adding an XY to a List using Arcade in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411725#M9443</link>
    <description>&lt;P&gt;Well dang, now I'm really confused. That's not structured anything like the original?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2024 15:38:30 GMT</pubDate>
    <dc:creator>APBlough</dc:creator>
    <dc:date>2024-04-18T15:38:30Z</dc:date>
    <item>
      <title>Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411485#M9435</link>
      <description>&lt;P&gt;I am trying to add an XY coordinate of the center of a polygon to the list.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I have a WebMap that is filtered using the dashboard and another tab of the WebApp so that they can find the project they need and then open the other tab and edit the attribute.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a way to help locate the project between he two map tabs, I want to add an XY to the list so it is easy to find the projects between the two maps.&lt;/P&gt;&lt;P&gt;I have another ID they should use to search but I wanted to figure out the arcade for the XY.&lt;/P&gt;&lt;P&gt;Any help would be amazing!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 12:20:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411485#M9435</guid>
      <dc:creator>APBlough</dc:creator>
      <dc:date>2024-04-18T12:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411641#M9438</link>
      <description>&lt;P&gt;You can use the &lt;A href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/#centroid" target="_self"&gt;Centroid&lt;/A&gt; function to get the center point for a polygon.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var thePoint = Centroid(Geometry($feature));
var output = `x: ${thePoint.x}, y: ${thePoint.y}`&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 14:23:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411641#M9438</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-04-18T14:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411682#M9439</link>
      <description>&lt;P&gt;Thank you, What do you think I have setup wrong?&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="APBlough_1-1713452074211.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101387i4EA8EDE7B624488B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="APBlough_1-1713452074211.png" alt="APBlough_1-1713452074211.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 14:54:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411682#M9439</guid>
      <dc:creator>APBlough</dc:creator>
      <dc:date>2024-04-18T14:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411702#M9440</link>
      <description>&lt;P&gt;My code uses &lt;A href="https://developers.arcgis.com/arcade/guide/template-literals/" target="_self"&gt;template literals&lt;/A&gt;&amp;nbsp;, which uses the back tick (`) instead of the regular quote (').&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:10:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411702#M9440</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-04-18T15:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411705#M9441</link>
      <description>&lt;P&gt;Yes, I am using regular single quotes (') here&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:12:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411705#M9441</guid>
      <dc:creator>APBlough</dc:creator>
      <dc:date>2024-04-18T15:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411710#M9442</link>
      <description>&lt;P&gt;If you use regular quotes, then the line would like this&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var output = 'x: ' + thePoint.x + ', y: ' + thePoint.y&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:14:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411710#M9442</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-04-18T15:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411725#M9443</link>
      <description>&lt;P&gt;Well dang, now I'm really confused. That's not structured anything like the original?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:38:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411725#M9443</guid>
      <dc:creator>APBlough</dc:creator>
      <dc:date>2024-04-18T15:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411727#M9444</link>
      <description>&lt;P&gt;Take a look at the page on template literals. The two examples I provided give the same output.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:49:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411727#M9444</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-04-18T15:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411731#M9445</link>
      <description>&lt;P&gt;Oh, I'm sorry. I follow you. I thought I was to remove the back tick. I thought that was the wrong character because this it the output that I had with back ticks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Unable to execute arcade script"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="APBlough_0-1713455483064.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/101399iC4676DB9A3B37193/image-size/medium?v=v2&amp;amp;px=400" role="button" title="APBlough_0-1713455483064.png" alt="APBlough_0-1713455483064.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 15:53:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411731#M9445</guid>
      <dc:creator>APBlough</dc:creator>
      <dc:date>2024-04-18T15:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411783#M9446</link>
      <description>&lt;P&gt;I had overlooked that the Geometry bundle is not available in the &lt;A href="https://developers.arcgis.com/arcade/profiles/dashboard-list-formatting/" target="_self"&gt;Dashboard list formatting profile&lt;/A&gt;, most likely for performance gains. I'm looking into a way to add that to your data as you load it into Dashboard&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 17:18:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411783#M9446</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-04-18T17:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411785#M9447</link>
      <description>&lt;P&gt;Ah, Ok that would explain it. Thank you! You're the best, thanks for all the help. let me know&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 17:21:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1411785#M9447</guid>
      <dc:creator>APBlough</dc:creator>
      <dc:date>2024-04-18T17:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an XY to a List using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1413539#M9458</link>
      <description>&lt;P&gt;I'm not having any luck on how to load things like this into our dashboards. Did you have any better luck? Or any suggestions on where to search for information?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 15:20:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/adding-an-xy-to-a-list-using-arcade/m-p/1413539#M9458</guid>
      <dc:creator>APBlough</dc:creator>
      <dc:date>2024-04-22T15:20:28Z</dc:date>
    </item>
  </channel>
</rss>

