<?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 Arcade script from Pro doesn't work in AGOL in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-from-pro-doesn-t-work-in-agol/m-p/1495431#M59798</link>
    <description>&lt;P&gt;I've got this arcade script I use in ArcGIS Pro to symbolize my layer based on whether or not it has a value in the specified field. It doesn't work when I try to put this into a web map. What do I need to change so I can use this for AGOl symbology? I'm trying to avoid adding a field just for symbolization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;var x = $feature.PLAT_NUM;&lt;BR /&gt;IIF(IsEmpty(x), "Pending","Active");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2024 15:47:59 GMT</pubDate>
    <dc:creator>JamesBurton1</dc:creator>
    <dc:date>2024-06-20T15:47:59Z</dc:date>
    <item>
      <title>Arcade script from Pro doesn't work in AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-from-pro-doesn-t-work-in-agol/m-p/1495431#M59798</link>
      <description>&lt;P&gt;I've got this arcade script I use in ArcGIS Pro to symbolize my layer based on whether or not it has a value in the specified field. It doesn't work when I try to put this into a web map. What do I need to change so I can use this for AGOl symbology? I'm trying to avoid adding a field just for symbolization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;var x = $feature.PLAT_NUM;&lt;BR /&gt;IIF(IsEmpty(x), "Pending","Active");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 15:47:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-from-pro-doesn-t-work-in-agol/m-p/1495431#M59798</guid>
      <dc:creator>JamesBurton1</dc:creator>
      <dc:date>2024-06-20T15:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade script from Pro doesn't work in AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-from-pro-doesn-t-work-in-agol/m-p/1495462#M59799</link>
      <description>&lt;P&gt;Odd, this expression works in the Map Viewer for Enterprise 11.1 just fine. Does adding an explicit "return" keyword at the start of line 2 fix things?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 16:04:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-from-pro-doesn-t-work-in-agol/m-p/1495462#M59799</guid>
      <dc:creator>DavidSolari</dc:creator>
      <dc:date>2024-06-20T16:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade script from Pro doesn't work in AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-from-pro-doesn-t-work-in-agol/m-p/1495603#M59811</link>
      <description>&lt;P&gt;That expression will work properly. Make sure that there is no expression or field in the "Choose attributes" section before saving your expression. Otherwise you'll get the "There was an error" message&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_192fd48.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/107566iB22F7DB4A80669D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_192fd48.png" alt="Snag_192fd48.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 19:15:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-from-pro-doesn-t-work-in-agol/m-p/1495603#M59811</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-06-20T19:15:55Z</dc:date>
    </item>
  </channel>
</rss>

