<?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: Use Custom Expressions in Arcade in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/use-custom-expressions-in-arcade/m-p/1502937#M1423</link>
    <description>&lt;P&gt;Unfortunately, no. There is no way to reference an entire expression from another. In the expression builder, you &lt;EM&gt;can&lt;/EM&gt; see a list of other expressions in us on the "Suggestions" tab. Clicking on any of them will let you view and copy the code into your current expression.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1720528185149.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109180iD2523DB50C0AE735/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1720528185149.png" alt="jcarlson_0-1720528185149.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know what exactly you're trying to do with Arcade, but if you want your popup to have multiple expression-based values in it, you might want to look into using an Arcade popup element. This lets you create entire field lists or complex text / HTML elements with a single expression.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2024 12:33:56 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2024-07-09T12:33:56Z</dc:date>
    <item>
      <title>Use Custom Expressions in Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/use-custom-expressions-in-arcade/m-p/1502912#M1422</link>
      <description>&lt;P&gt;Howdy&lt;/P&gt;&lt;P&gt;In most of programming languages, we can import code from another file&lt;BR /&gt;I noticed that we can Custom Expression in Arcgis Map but i still wonder, how to use them&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="N0MAD_0-1720519301708.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109175i08E46870DFA31D4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="N0MAD_0-1720519301708.png" alt="N0MAD_0-1720519301708.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I created this expression, but is there any way to use it into an Arcade Script without putting the whole code ?&lt;/P&gt;&lt;P&gt;From now, i just copy paste the expression into the other one&amp;nbsp; but if i need to modify the expression, i need to go trough all my expressions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a easier way ?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 11:53:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/use-custom-expressions-in-arcade/m-p/1502912#M1422</guid>
      <dc:creator>N0MAD</dc:creator>
      <dc:date>2024-07-09T11:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Use Custom Expressions in Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/use-custom-expressions-in-arcade/m-p/1502937#M1423</link>
      <description>&lt;P&gt;Unfortunately, no. There is no way to reference an entire expression from another. In the expression builder, you &lt;EM&gt;can&lt;/EM&gt; see a list of other expressions in us on the "Suggestions" tab. Clicking on any of them will let you view and copy the code into your current expression.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1720528185149.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109180iD2523DB50C0AE735/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1720528185149.png" alt="jcarlson_0-1720528185149.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know what exactly you're trying to do with Arcade, but if you want your popup to have multiple expression-based values in it, you might want to look into using an Arcade popup element. This lets you create entire field lists or complex text / HTML elements with a single expression.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 12:33:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/use-custom-expressions-in-arcade/m-p/1502937#M1423</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-07-09T12:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Use Custom Expressions in Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/use-custom-expressions-in-arcade/m-p/1502970#M1424</link>
      <description>&lt;P&gt;In my case, i have a list of candidats for an election, but i only have their names, so i have a 80 lines expression that take their names, and get from another list their political group, the group color, their percentages and this fat expression is later used into 4 expressions to make html to make the results more human readable (for instande, a diagram, a fancy display with their image, etc...&lt;BR /&gt;But that's sad that i'll need to put the first expression into all others juste to have a good view&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 13:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/use-custom-expressions-in-arcade/m-p/1502970#M1424</guid>
      <dc:creator>N0MAD</dc:creator>
      <dc:date>2024-07-09T13:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Use Custom Expressions in Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/use-custom-expressions-in-arcade/m-p/1502986#M1426</link>
      <description>&lt;P&gt;So, have you tried an Arcade popup? If you're using the expression to create some custom HTML, you can probably reduce the number of times the expression needs to be used.&lt;/P&gt;&lt;P&gt;What's one of the expressions look like? Any chance the map you're making these for is public?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 13:50:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/use-custom-expressions-in-arcade/m-p/1502986#M1426</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-07-09T13:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use Custom Expressions in Arcade</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/use-custom-expressions-in-arcade/m-p/1502994#M1427</link>
      <description>&lt;P&gt;I don't really know if i can publish it now, but yea, i already use Arcade popup like so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="N0MAD_0-1720534300744.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109190iFD44A65DDB344C73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="N0MAD_0-1720534300744.png" alt="N0MAD_0-1720534300744.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But i really think that the lack of a function like "Import" or "Execute" is quite bad, like if Arcgis just used a more complex language suck as python or Javascript in Online Map, it could open so many new way to make maps (like without using SDK and make our own website with an Iframe)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Btw: If you have an idea how to apply the alias that i've set into the map to arcade, plz, help&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 14:14:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/use-custom-expressions-in-arcade/m-p/1502994#M1427</guid>
      <dc:creator>N0MAD</dc:creator>
      <dc:date>2024-07-09T14:14:23Z</dc:date>
    </item>
  </channel>
</rss>

