<?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: Need help creating an Arcade Script for Labeling in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/need-help-creating-an-arcade-script-for-labeling/m-p/1084237#M2827</link>
    <description>&lt;P&gt;A similar expression should also work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var code = $feature.FOREST
var areas = $feature.ACRES
var expr = ($feature.FTYPE + '\n' + Round($feature.ACRES,0) + 'ac.')
IIF((code=='F' &amp;amp;&amp;amp; areas &amp;gt; 2), expr, '')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jul 2021 21:54:53 GMT</pubDate>
    <dc:creator>JayantaPoddar</dc:creator>
    <dc:date>2021-07-29T21:54:53Z</dc:date>
    <item>
      <title>Need help creating an Arcade Script for Labeling</title>
      <link>https://community.esri.com/t5/arcmap-questions/need-help-creating-an-arcade-script-for-labeling/m-p/1084211#M2825</link>
      <description>&lt;P&gt;I have a VBScript I've used for labeling in ArcMap:&lt;/P&gt;&lt;P&gt;Function FindLabel ( [FOREST] , [FTYPE] , [ACRES] )&lt;BR /&gt;If [FOREST] = "F" And [ACRES] &amp;gt; 2 Then&lt;BR /&gt;FindLabel = [FTYPE] &amp;amp;vbnewline&amp;amp; Round([ACRES],0) &amp;amp; " ac."&lt;BR /&gt;End If&lt;BR /&gt;End Function&lt;/P&gt;&lt;P&gt;Can someone help me turn this into an Arcade script?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 20:48:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/need-help-creating-an-arcade-script-for-labeling/m-p/1084211#M2825</guid>
      <dc:creator>ScottRobinson</dc:creator>
      <dc:date>2021-07-29T20:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help creating an Arcade Script for Labeling</title>
      <link>https://community.esri.com/t5/arcmap-questions/need-help-creating-an-arcade-script-for-labeling/m-p/1084216#M2826</link>
      <description>&lt;P&gt;You can just set a query statement on the label class to handle the "if" statement. Then the Arcade expression would just be&lt;/P&gt;&lt;PRE&gt;$feature["FTYPE"] + '\n' + Text($feature["ACRES"], '###,###') + 'ac.'&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Jul 2021 21:01:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/need-help-creating-an-arcade-script-for-labeling/m-p/1084216#M2826</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-07-29T21:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help creating an Arcade Script for Labeling</title>
      <link>https://community.esri.com/t5/arcmap-questions/need-help-creating-an-arcade-script-for-labeling/m-p/1084237#M2827</link>
      <description>&lt;P&gt;A similar expression should also work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var code = $feature.FOREST
var areas = $feature.ACRES
var expr = ($feature.FTYPE + '\n' + Round($feature.ACRES,0) + 'ac.')
IIF((code=='F' &amp;amp;&amp;amp; areas &amp;gt; 2), expr, '')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 21:54:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/need-help-creating-an-arcade-script-for-labeling/m-p/1084237#M2827</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-07-29T21:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help creating an Arcade Script for Labeling</title>
      <link>https://community.esri.com/t5/arcmap-questions/need-help-creating-an-arcade-script-for-labeling/m-p/1088503#M2867</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/95280"&gt;@JayantaPoddar&lt;/a&gt;This was the solution that labeled the features correctly and published to AGOL.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 16:03:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/need-help-creating-an-arcade-script-for-labeling/m-p/1088503#M2867</guid>
      <dc:creator>ScottRobinson</dc:creator>
      <dc:date>2021-08-12T16:03:25Z</dc:date>
    </item>
  </channel>
</rss>

