<?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 Scripts with Map Service in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744874#M5103</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/37854"&gt;Jason Smith&lt;/A&gt;&amp;nbsp;, I assume that you are publishing to ArcGIS Server (when you mention it is behind a firewall). ArcMap can publish to ArcGIS Server, but does not support Arcade and ArcGIS Pro does support Arcade, but can't publish to ArcGIS Server. What kind of labels and symbology are you trying to obtain (or do you have)? Can you provide a screenshot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can tell the ArcGIS for JavaScript API does support Arcade:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/arcade/" title="https://developers.arcgis.com/javascript/latest/guide/arcade/"&gt;Arcade | ArcGIS API for JavaScript 4.6&lt;/A&gt;&amp;nbsp;(although not the new geometry functions introduced at v1.3 of Arcade)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Dec 2017 13:17:15 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2017-12-19T13:17:15Z</dc:date>
    <item>
      <title>Arcade Scripts with Map Service</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744869#M5098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone had lucky getting Arcade scripts to work on symbology and labels for a Map Service?&amp;nbsp; I am publishing a map service from ArcMap since it supports grouping of layers, and want to add Arcade scripts to the sublayers.&amp;nbsp; But when I try to create a New Expression within AGOL either under symbology or labels, it doesn't show up as an option.&amp;nbsp; I can still use Arcade scripts for pop-ups, but I really need it to work symbols and labels.&lt;/P&gt;&lt;P&gt;arcade‌&amp;nbsp;arcade expressions&amp;nbsp;mapserver#&amp;nbsp;mapservice‌&amp;nbsp;&lt;A href="https://community.esri.com/t5/tag/arcmap/tg-p"&gt;#arcmap&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 15:53:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744869#M5098</guid>
      <dc:creator>JasonSmith6</dc:creator>
      <dc:date>2017-12-14T15:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Scripts with Map Service</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744870#M5099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the service? I just used some maps services from the sample server, like this one:&amp;nbsp;&lt;A class="link-titled" href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/PublicSafety/PublicSafetyOperationalLayers/MapServer" title="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/PublicSafety/PublicSafetyOperationalLayers/MapServer"&gt;PublicSafety/PublicSafetyOperationalLayers (MapServer)&lt;/A&gt;&amp;nbsp;and when I add the individual layers, I can add new expressions to define the symbology and labels.&amp;nbsp;When I add the entire map service I can configure the pop-ups of the layers using new expressions, as advertised.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Dec 2017 16:20:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744870#M5099</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-12-17T16:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Scripts with Map Service</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744871#M5100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;A href="https://community.esri.com/people/xander_bakker"&gt;xander_bakker&lt;/A&gt;‌, yes you're correct. &amp;nbsp;When you add individual layer it works fine. &amp;nbsp;But I need to keep the Grouping heirarchy (in other words, the entire map service) together. &amp;nbsp;I then want to define the symbology and labels for each layer within the map service using new expressions, but can't. &amp;nbsp;I was just wondering if there is a workaround using code or another means? &amp;nbsp;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Dec 2017 19:45:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744871#M5100</guid>
      <dc:creator>JasonSmith6</dc:creator>
      <dc:date>2017-12-17T19:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Scripts with Map Service</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744872#M5101</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/37854"&gt;Jason Smith&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll assume that you are not the owner of the service or that there are other reasons to not implement this while publishing the data. When you add multiple layers of a MapService you do not have access to change the symbology or define labels. The only thing you have access to is the pop-up window where Arcade can be applied. Or at least that is what I am seeing:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/391082_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share the service or can you share a screenshot of what option you have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use code (ArcGIS API for JavaScript) for this, but I wonder if you would like to go there:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GroupLayer.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GroupLayer.html"&gt;GroupLayer | API Reference | ArcGIS API for JavaScript 4.6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Dec 2017 20:09:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744872#M5101</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-12-17T20:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Scripts with Map Service</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744873#M5102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for responding!&amp;nbsp; No I own the service and published it.&amp;nbsp;Is there a setting in ArcMap that I can change?&amp;nbsp; The service is behind a firewall so unfortunately cannot share it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes we looked at using JS 4.x which supports GroupLayer, but then it doesn't support labels natively and Arcade along with those.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 13:01:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744873#M5102</guid>
      <dc:creator>JasonSmith6</dc:creator>
      <dc:date>2017-12-19T13:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Scripts with Map Service</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744874#M5103</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/37854"&gt;Jason Smith&lt;/A&gt;&amp;nbsp;, I assume that you are publishing to ArcGIS Server (when you mention it is behind a firewall). ArcMap can publish to ArcGIS Server, but does not support Arcade and ArcGIS Pro does support Arcade, but can't publish to ArcGIS Server. What kind of labels and symbology are you trying to obtain (or do you have)? Can you provide a screenshot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I can tell the ArcGIS for JavaScript API does support Arcade:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/guide/arcade/" title="https://developers.arcgis.com/javascript/latest/guide/arcade/"&gt;Arcade | ArcGIS API for JavaScript 4.6&lt;/A&gt;&amp;nbsp;(although not the new geometry functions introduced at v1.3 of Arcade)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 13:17:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744874#M5103</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-12-19T13:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Scripts with Map Service</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744875#M5104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, just noticed that labels is only supported in 3D. 2D will come...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Known Limitations&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Labeling is currently only supported in 3D SceneViews. Support for labeling in 2D MapViews will be added in a future release.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 13:19:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744875#M5104</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-12-19T13:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Scripts with Map Service</title>
      <link>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744876#M5105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep!  That’s my conundrum.  Just can’t seem to have my cake and eat it too.  &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 14:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcade-scripts-with-map-service/m-p/744876#M5105</guid>
      <dc:creator>JasonSmith6</dc:creator>
      <dc:date>2017-12-19T14:03:56Z</dc:date>
    </item>
  </channel>
</rss>

