<?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: Create an array of data in AGOL for use in arcade expression in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/create-an-array-of-data-in-agol-for-use-in-arcade/m-p/94615#M570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌ is this something you can answer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use arcade in a field calculator to create a status field.&amp;nbsp; I'm using when and have quite a few different conditions for it to run through.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of the few conditions involve checking if a number matches one within a list.&amp;nbsp; I could do&amp;nbsp;&lt;EM&gt;number IN (....,....,....)&amp;nbsp;&lt;/EM&gt;however I thought it would be cleaner to declare this list at the top along with other var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2019 00:26:32 GMT</pubDate>
    <dc:creator>NaomiBegg2</dc:creator>
    <dc:date>2019-08-30T00:26:32Z</dc:date>
    <item>
      <title>Create an array of data in AGOL for use in arcade expression</title>
      <link>https://community.esri.com/t5/developers-questions/create-an-array-of-data-in-agol-for-use-in-arcade/m-p/94614#M569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to use Arcade in order to create a map that keys off when conditions are met. The first step to get there would be to perform a count of the number of items that are entered for a specific area.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say we have a field of shapes that are either in group A or B. I would like to add to the pop up what the total count of B is using Arcade. I would like to use Arcade since this value is changing over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe if I could create an array of all the values then I could use this with Arcade to complete the code. I'm working purely in AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be appreciated!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 16:48:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-an-array-of-data-in-agol-for-use-in-arcade/m-p/94614#M569</guid>
      <dc:creator>AmySorensen</dc:creator>
      <dc:date>2017-09-05T16:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create an array of data in AGOL for use in arcade expression</title>
      <link>https://community.esri.com/t5/developers-questions/create-an-array-of-data-in-agol-for-use-in-arcade/m-p/94615#M570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌ is this something you can answer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use arcade in a field calculator to create a status field.&amp;nbsp; I'm using when and have quite a few different conditions for it to run through.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of the few conditions involve checking if a number matches one within a list.&amp;nbsp; I could do&amp;nbsp;&lt;EM&gt;number IN (....,....,....)&amp;nbsp;&lt;/EM&gt;however I thought it would be cleaner to declare this list at the top along with other var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2019 00:26:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-an-array-of-data-in-agol-for-use-in-arcade/m-p/94615#M570</guid>
      <dc:creator>NaomiBegg2</dc:creator>
      <dc:date>2019-08-30T00:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create an array of data in AGOL for use in arcade expression</title>
      <link>https://community.esri.com/t5/developers-questions/create-an-array-of-data-in-agol-for-use-in-arcade/m-p/94616#M571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/221930"&gt;Naomi Begg&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this question is a bit off-topic from the original question posted by the OP, you might want to branch this question to a new question. However, let's see if I can answer part of your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mention you want to validate the number of matched in a list. Where is this list coming from? Is it hardcoded? What is the code that you have already? Where is the data coming from?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Sep 2019 16:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/create-an-array-of-data-in-agol-for-use-in-arcade/m-p/94616#M571</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-09-01T16:51:33Z</dc:date>
    </item>
  </channel>
</rss>

