<?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: Is there a way to use an Arcade Expression from the General Popup Window in the Cluster Pop-up Window? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62845#M2993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌. This solution worked for my needs. In addition to what you stated above, I added the&amp;nbsp;Replace Functions inside several if statements to ensure that I was changing each point class name was changed exactly to what I needed. Without doing this, I was only able to replace one or two point class names at a time. Please correct me if I am wrong in this assertion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-centered j-img-original" src="/legacyfs/online/436280_Replace If Statements.JPG" style="display: block; margin-left: auto; margin-right: auto;" /&gt;Thank you for your help with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2019 16:38:35 GMT</pubDate>
    <dc:creator>NicoKroes2</dc:creator>
    <dc:date>2019-01-31T16:38:35Z</dc:date>
    <item>
      <title>Is there a way to use an Arcade Expression from the General Popup Window in the Cluster Pop-up Window?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62843#M2991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would anyone know of a way to use an Arcade Attribute Expression that was created in the General 'Configure Pop-up' window inside of the 'Configure Clustering Popup' Window Custom Attribute Display? What I am attempting to do is to use an Arcade attribute expression to provide meaningful names for the point classes of some address points. For Example, instead of 'Residential - Single Structure', below. I would like for the class to read 'Residential Structure' or 'House' (See&amp;nbsp;&lt;STRONG&gt;Figure 1&lt;/STRONG&gt;). I am able to do this for in the Popups for individual address points. However, I am unable to do this for Popups depicting clusters of address points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-centered j-img-original" src="/legacyfs/online/436134_Address Point Cluster Popup.JPG" style="display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;STRONG&gt;Figure 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I am running into is that I am unable to access any of the arcade expressions that I created inside of the General&amp;nbsp;'Configure Pop-up' Window (See &lt;STRONG&gt;Figure 2&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 j-img-centered jive-image" height="287" src="https://community.esri.com/legacyfs/online/436135_IMG_20190130_093643.jpg" style="display: block; margin-left: auto; margin-right: auto;" width="383" /&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;STRONG&gt;Figure 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I can provide any additional information that might help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2019 14:45:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62843#M2991</guid>
      <dc:creator>NicoKroes2</dc:creator>
      <dc:date>2019-01-30T14:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use an Arcade Expression from the General Popup Window in the Cluster Pop-up Window?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62844#M2992</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/332728"&gt;Nico Kroes&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The cluster window does not have the possibility to use Arcade functions to change the pop-up window. However, you can use an Arcade expression for the symbology and change the names as you want them to appear and that will be used in the cluster pop-up window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's take a small example. I have a set of points that I symbolize on a field called CLASE_USO. There are a couple of values that contain the word "ESTRATO":&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/436207_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;Which makes the cluster pop-up to&amp;nbsp;appear like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/436241_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I want the text "ESTRATO" to be replaced by "LEVEL" I can create an expression&amp;nbsp;for the symbology:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/436242_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This&amp;nbsp; expression in my case will just have a replace to change the text:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/436243_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will change the visualization (the legend actually):&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/436244_pastedImage_6.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you go into the configuration of the cluster pop-up you will see that it is using an expression&amp;nbsp;with a strange kong name. This is the expression based on your expression used for the symbology:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/436245_pastedImage_7.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result will like like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-7 jive-image" src="https://community.esri.com/legacyfs/online/436246_pastedImage_8.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 02:33:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62844#M2992</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-01-31T02:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use an Arcade Expression from the General Popup Window in the Cluster Pop-up Window?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62845#M2993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌. This solution worked for my needs. In addition to what you stated above, I added the&amp;nbsp;Replace Functions inside several if statements to ensure that I was changing each point class name was changed exactly to what I needed. Without doing this, I was only able to replace one or two point class names at a time. Please correct me if I am wrong in this assertion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-centered j-img-original" src="/legacyfs/online/436280_Replace If Statements.JPG" style="display: block; margin-left: auto; margin-right: auto;" /&gt;Thank you for your help with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 16:38:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62845#M2993</guid>
      <dc:creator>NicoKroes2</dc:creator>
      <dc:date>2019-01-31T16:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use an Arcade Expression from the General Popup Window in the Cluster Pop-up Window?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62846#M2994</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/332728"&gt;Nico Kroes&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you provide the code as text (just copy and paste in this thread) so I can actually see what the input and output values are? Based on that I can provide you with a more condensed&amp;nbsp;expression to do the job.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 18:27:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62846#M2994</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-01-31T18:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use an Arcade Expression from the General Popup Window in the Cluster Pop-up Window?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62847#M2995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, certainly. Here is the code for the arcade expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Commercial - Single Structure') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Commercial - Single Structure','Commercial Structure')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Commercial - Suite') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Commercial - Suite','Office Suite')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Educational - Library') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Educational - Library','Library')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ($feature.PtClass == 'Educational - School (Private)') {&lt;BR /&gt; return Replace($feature['PtClass'],'Educational - School (Private)','Private School')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Educational - School (Public)') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Educational - School (Public)','Public School')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Emergency - Fire') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Emergency - Fire','Fire Department Facility')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Emergency - Hospital') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Emergency - Hospital','Hospital')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Emergency - Police') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Emergency - Police','Police Department Facility')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Government Office - Local') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Government Office - Local','Local Government Facility')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Nonbuilding Structure - Cell Tower') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Nonbuilding Structure - Cell Tower','Cellular Tower')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Nonbuilding Structure - City Govt Asset') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Nonbuilding Structure - City Govt Asset','City Government Asset')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Nonbuilding Structure - Detention Pond') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Nonbuilding Structure - Detention Pond','Detention Pond')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Nonbuilding Structure - Electrical') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Nonbuilding Structure - Electrical','Electrical Structure')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Nonbuilding Structure - Electrical Box') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Nonbuilding Structure - Electrical Box','Electrical Box')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Nonbuilding Structure - Monument/Sign') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Nonbuilding Structure - Monument/Sign','Monument or Sign')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Nonbuilding Structure - Parking') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Nonbuilding Structure - Parking','Parking Structure')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Nonbuilding Structure - Phone Cabinet') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Nonbuilding Structure - Phone Cabinet','Phone Cabinet')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Nonbuilding Structure - Trash Compactor') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Nonbuilding Structure - Trash Compactor','Trash Compactor')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Nonbuilding Structure - Water Meter') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Nonbuilding Structure - Water Meter','Water Meter')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Nonbuilding Structure - Cable Box') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Nonbuilding Structure - Cable Box','Cable Box')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Recreational/Cultural - Private') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Recreational/Cultural - Private','Private Recreational/Cultural Structure')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Recreational/Cultural - Public') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Recreational/Cultural - Public','Public Recreational/Cultural Structure')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Religious/Spiritual') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Religious/Spiritual','Religious Structure')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Residential - Apartment') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Residential - Apartment','Apartment Unit')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Residential - Apartment Building') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Residential - Apartment Building','Apartment Building')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Residential - Common Area') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Residential - Common Area','Residential Common Area')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Residential - Single Structure') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Residential - Single Structure','Residential Structure')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Residential - Unit') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Residential - Unit','Residential Unit')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Residential - Townhome') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Residential - Townhome','Townhome')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Residential - Group Quarters') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Residential - Group Quarters','Group Living Facility')&lt;BR /&gt;}&lt;/P&gt;&lt;P style="text-align: left;"&gt;if ($feature.PtClass == 'Residential - Condo') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return Replace($feature['PtClass'],'Residential - Condo','Condominium')&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 18:34:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62847#M2995</guid>
      <dc:creator>NicoKroes2</dc:creator>
      <dc:date>2019-01-31T18:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use an Arcade Expression from the General Popup Window in the Cluster Pop-up Window?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62848#M2996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; in_text &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; $feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;PtClass&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Decode&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;in_text&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Commercial - Single Structure'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Commercial Structure'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Commercial - Suite'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Office Suite'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Educational - Library'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Library'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Educational - School (Private)'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Private School'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Educational - School (Public)'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Public School'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Emergency - Fire'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Fire Department Facility'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Emergency - Hospital'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Hospital'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Emergency - Police'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Police Department Facility'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Government Office - Local'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Local Government Facility'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Nonbuilding Structure - Cell Tower'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Cellular Tower'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Nonbuilding Structure - City Govt Asset'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'City Government Asset'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Nonbuilding Structure - Detention Pond'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Detention Pond'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Nonbuilding Structure - Electrical'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Electrical Structure'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Nonbuilding Structure - Electrical Box'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Electrical Box'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Nonbuilding Structure - Monument/Sign'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Monument or Sign'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Nonbuilding Structure - Parking'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Parking Structure'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Nonbuilding Structure - Phone Cabinet'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Phone Cabinet'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Nonbuilding Structure - Trash Compactor'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Trash Compactor'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Nonbuilding Structure - Water Meter'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Water Meter'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Nonbuilding Structure - Cable Box'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Cable Box'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Recreational/Cultural - Private'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Private Recreational/Cultural Structure'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Recreational/Cultural - Public'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Public Recreational/Cultural Structure'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Religious/Spiritual'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Religious Structure'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Residential - Apartment'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Apartment Unit'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Residential - Apartment Building'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Apartment Building'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Residential - Common Area'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Residential Common Area'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Residential - Single Structure'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Residential Structure'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Residential - Unit'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Residential Unit'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Residential - Townhome'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Townhome'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Residential - Group Quarters'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Group Living Facility'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'Residential - Condo'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Condominium'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; in_text&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:24:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62848#M2996</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-10T22:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use an Arcade Expression from the General Popup Window in the Cluster Pop-up Window?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62849#M2997</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" target="_blank"&gt;Xander Bakker&lt;/A&gt;‌. I used the code below to add an alias to my address point class names in the legend and in the clustering popup. I also removed some address point classes that I did not need. I appreciate your help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var in_text = $feature.PtClass;

Decode(in_text, 'Residential - Group Quarters', 'Group Living Facility', 
'Commercial - Suite', 'Office Suite', 
'Commercial - Single Structure', 'Commercial Structure',
'Residential - Single Structure', 'House or Detached Housing',
'Residential - Apartment', 'Apartment Unit',
'Residential - Apartment Building', 'Apartment Building',
'Residential - Unit', 'Residential Unit',
'Residential - Townhome', 'Townhome',
'Residential - Condo', 'Condominium', in_text);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62849#M2997</guid>
      <dc:creator>NicoKroes2</dc:creator>
      <dc:date>2021-12-10T22:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use an Arcade Expression from the General Popup Window in the Cluster Pop-up Window?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62850#M2998</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/332728"&gt;Nico Kroes&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not entirely clear to me if the code works for you now.&amp;nbsp;Does it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 21:35:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62850#M2998</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-01-31T21:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use an Arcade Expression from the General Popup Window in the Cluster Pop-up Window?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62851#M2999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it does work. Apologies for the misunderstanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nico&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 21:51:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62851#M2999</guid>
      <dc:creator>NicoKroes2</dc:creator>
      <dc:date>2019-01-31T21:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to use an Arcade Expression from the General Popup Window in the Cluster Pop-up Window?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62852#M3000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for getting back. Glad to hear that it's working now!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 21:56:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-there-a-way-to-use-an-arcade-expression-from/m-p/62852#M3000</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-01-31T21:56:31Z</dc:date>
    </item>
  </channel>
</rss>

