<?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: Custom Label Expression in AGO in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040722#M39165</link>
    <description>&lt;P&gt;There's still an open parentheses in the return&amp;nbsp; feature with no closed parentheses. I took it out and it seems to be working. Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Mar 2021 18:22:12 GMT</pubDate>
    <dc:creator>MCouden</dc:creator>
    <dc:date>2021-03-25T18:22:12Z</dc:date>
    <item>
      <title>Custom Label Expression in AGO</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040638#M39160</link>
      <description>&lt;P&gt;I have a field that has numbers and zeros. I want to label the the numbers as is but the zeros need to label as the word "pending". I know the start of the code is $feature(AADT_2020_Label) which will label the number. How do I make the expression if AADT_2020_Label equals zero label as pending? I've tried just putting pending in the text field but for some reason it is not liking it.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 16:04:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040638#M39160</guid>
      <dc:creator>MCouden</dc:creator>
      <dc:date>2021-03-25T16:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Label Expression in AGO</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040643#M39161</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;if ( $feature(["AADT_2020_Label"]  &amp;gt; 0) {
return $feature(["AADT_2020_Label"]
}
else {
return "Pending"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 16:10:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040643#M39161</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-03-25T16:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Label Expression in AGO</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040698#M39163</link>
      <description>&lt;P&gt;if&amp;nbsp; ($feature(["AADT_2020_LBL"] &amp;gt; 0)&amp;nbsp; {return $feature(["AADT_2020_LBL"]} else {return "Pending"}&lt;/P&gt;&lt;P&gt;I think there needs to be closed parentheses. I am getting the error of&amp;nbsp;&lt;SPAN class="text-red"&gt;Parse Error:&lt;/SPAN&gt;&lt;SPAN&gt;Line 1: Unexpected token {&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 17:40:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040698#M39163</guid>
      <dc:creator>MCouden</dc:creator>
      <dc:date>2021-03-25T17:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Label Expression in AGO</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040716#M39164</link>
      <description>&lt;P&gt;sure:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;if  ($feature["AADT_2020_LBL"] &amp;gt; 0)  {return $feature(["AADT_2020_LBL"]} else {return "Pending"}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 25 Mar 2021 18:14:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040716#M39164</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-03-25T18:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Label Expression in AGO</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040722#M39165</link>
      <description>&lt;P&gt;There's still an open parentheses in the return&amp;nbsp; feature with no closed parentheses. I took it out and it seems to be working. Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 18:22:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040722#M39165</guid>
      <dc:creator>MCouden</dc:creator>
      <dc:date>2021-03-25T18:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Label Expression in AGO</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040839#M39171</link>
      <description>&lt;P&gt;You're going to set the removal of an inadvertent parenthesis in the code I provided as the solution?&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_with_rolling_eyes:"&gt;🙄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 21:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/custom-label-expression-in-ago/m-p/1040839#M39171</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-03-25T21:29:46Z</dc:date>
    </item>
  </channel>
</rss>

