<?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: Arcade label expression created in ArcGIS Pro doesn't properly work in AGOL in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-label-expression-created-in-arcgis-pro/m-p/587848#M29527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*Doh!* You're totally right...now it works also in AGOL. But why was it working in Pro? Probably ArcGIS Pro being ArcGIS Pro again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2020 11:07:33 GMT</pubDate>
    <dc:creator>EkremCanli2</dc:creator>
    <dc:date>2020-09-03T11:07:33Z</dc:date>
    <item>
      <title>Arcade label expression created in ArcGIS Pro doesn't properly work in AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-label-expression-created-in-arcgis-pro/m-p/587846#M29525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple task: I've created some contours, I only want my even numbers to show on my contours as labels. Since some of those come with a lot of decimal places, I've added a round function. This perfectly works in ArcGIS Pro. When I share my map as a Web Map to AGOL, it still shows only my even labels, but won't respect the round function (left side ArcGIS Pro and the label expression menu, right side AGOL):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="506279" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/506279_arcade.JPG" /&gt;&lt;/P&gt;&lt;P&gt;The label expression in AGOL is still there, but it won't apply onto the map:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="506280" alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/506280_arcade1.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;€1: yes I know creating the variable is useless in this example...but it won't work either way.&lt;/P&gt;&lt;P&gt;€2: oh and now that I see it: the label placement in ArcGIS Pro was set to 'Shield', while on AGOL it's shown differently.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 06:36:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-label-expression-created-in-arcgis-pro/m-p/587846#M29525</guid>
      <dc:creator>EkremCanli2</dc:creator>
      <dc:date>2020-09-03T06:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade label expression created in ArcGIS Pro doesn't properly work in AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-label-expression-created-in-arcgis-pro/m-p/587847#M29526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't explain exactly why it's giving different results, but in your arcade expression you're returning the full value instead of the rounded value.&amp;nbsp;In your IIF statement if you replace the second $feature.Contour (after the "0,") with round(&lt;SPAN&gt;$feature.Contour, 1) it might do what you're&amp;nbsp;wanting.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 10:20:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-label-expression-created-in-arcgis-pro/m-p/587847#M29526</guid>
      <dc:creator>JoshuaSharp-Heward</dc:creator>
      <dc:date>2020-09-03T10:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade label expression created in ArcGIS Pro doesn't properly work in AGOL</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-label-expression-created-in-arcgis-pro/m-p/587848#M29527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*Doh!* You're totally right...now it works also in AGOL. But why was it working in Pro? Probably ArcGIS Pro being ArcGIS Pro again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2020 11:07:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-label-expression-created-in-arcgis-pro/m-p/587848#M29527</guid>
      <dc:creator>EkremCanli2</dc:creator>
      <dc:date>2020-09-03T11:07:33Z</dc:date>
    </item>
  </channel>
</rss>

