<?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: ESRI JS API 4.27: scale based symbology not systematically honoured depending on instantiation in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1299914#M81412</link>
    <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I opened a case. Let's see if the routing works.&lt;/P&gt;&lt;P&gt;Personnaly, I found it a pity: I tend to prefer referencing service by URL which are more stable to me (can be republished). Also, creating a FeatureLayer from a MapService layer is really convenient as well.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jun 2023 19:00:27 GMT</pubDate>
    <dc:creator>NicolasGIS</dc:creator>
    <dc:date>2023-06-15T19:00:27Z</dc:date>
    <item>
      <title>ESRI JS API 4.27: scale based symbology not systematically honoured depending on instantiation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1299530#M81402</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Using ArcGIS Enterprise 11.1, I published a scaled based symbology FeatureServer and MapServer:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/scale-based-symbol-classes.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/scale-based-symbol-classes.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I created a JS API 4.27 application and noticed that my FeatureLayer does not honour this scaled based symbology. Digging a little more, I understood that it depends on its instantiation:&lt;/P&gt;&lt;P&gt;&lt;U&gt;- Instantiation with portalItem, works:&lt;/U&gt;&lt;/P&gt;&lt;DIV&gt;const poiFLLayerByPortalItem = new FeatureLayer({&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;portalItem: {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; id: "c3d95b4ce5df4882a6f73723492af00f"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;});&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;- Instantiation with a featureServer URL does &lt;STRONG&gt;not&lt;/STRONG&gt; work:&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;const poiFLLayerByFLId = new FeatureLayer({&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp;url: "&lt;A href="https://ags.company.com/arcgis/rest/services/General/POI_TEST/FeatureServer/0" target="_blank" rel="noopener"&gt;https://ags.company.com/arcgis/rest/services/General/POI_TEST/FeatureServer/0&lt;/A&gt;"&lt;/DIV&gt;&lt;DIV&gt;});&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;U&gt;- Instantiation with a MapServer URL does &lt;STRONG&gt;not&lt;/STRONG&gt; work either:&lt;/U&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;const poiFLLayerByMLId = new FeatureLayer({&lt;BR /&gt;&amp;nbsp; &amp;nbsp; url: "&lt;A href="https://ags.company.com/arcgis/rest/services/General/POI_TEST/MapServer/0" target="_blank" rel="noopener"&gt;https://ags.company.com/arcgis/rest/services/General/POI_TEST/MapServer/0&lt;/A&gt;"&lt;BR /&gt;});&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It looks a bit weird to me: I would expect all featureLayer to be consistent in behaviour when consuming the same service. Is it a bug or somehow a feature I would miss ? Should a case be opened ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Nicolas&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PS: can share a URL illustrating this issue to JS API team if you want to have a quick look&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Jun 2023 04:40:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1299530#M81402</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2023-06-15T04:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI JS API 4.27: scale based symbology not systematically honoured depending on instantiation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1299886#M81409</link>
      <description>&lt;P&gt;Can you share the difference in renderer JSON saved to the service versus the renderer on the layer's portal item? It seems to be related to that.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 18:27:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1299886#M81409</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2023-06-15T18:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI JS API 4.27: scale based symbology not systematically honoured depending on instantiation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1299901#M81410</link>
      <description>&lt;P&gt;Thanks for your reply&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/44467"&gt;@KristianEkenes&lt;/a&gt; !&lt;/P&gt;&lt;P&gt;Indeed, renderers are not defined in the same way:&lt;/P&gt;&lt;P&gt;- ArcGIS Server REST API /FeatureServer/0: type &lt;STRONG&gt;esriPMS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ArcGIS Server /FeatureServer/0 renderer" style="width: 478px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/73398i58ECF3D2F8234745/image-size/large?v=v2&amp;amp;px=999" role="button" title="RendererFromArcGISServerUrl.png" alt="ArcGIS Server /FeatureServer/0 renderer" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ArcGIS Server /FeatureServer/0 renderer&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- Portail REST API /item/id/data type &lt;STRONG&gt;CIMPointSymbol&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Portal /item/data renderer" style="width: 460px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/73400i6255EC176CCE0424/image-size/large?v=v2&amp;amp;px=999" role="button" title="RendererFromPortalItem.png" alt="Portal /item/data renderer" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Portal /item/data renderer&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So it's kind of limitation of ArcGIS Server not support CIMSymbol I guess ? It's would be a pity !&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 18:48:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1299901#M81410</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2023-06-15T18:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI JS API 4.27: scale based symbology not systematically honoured depending on instantiation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1299906#M81411</link>
      <description>&lt;P&gt;It could be. I also don't think we save renderers directly to the service anymore (on the Online side anyway). It would be worth checking in with someone on the Pro/Enterprise side...&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 18:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1299906#M81411</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2023-06-15T18:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI JS API 4.27: scale based symbology not systematically honoured depending on instantiation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1299914#M81412</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I opened a case. Let's see if the routing works.&lt;/P&gt;&lt;P&gt;Personnaly, I found it a pity: I tend to prefer referencing service by URL which are more stable to me (can be republished). Also, creating a FeatureLayer from a MapService layer is really convenient as well.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 19:00:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1299914#M81412</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2023-06-15T19:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI JS API 4.27: scale based symbology not systematically honoured depending on instantiation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1301523#M81457</link>
      <description>&lt;P&gt;So support added my case to the following already logged BUG and limitation:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;BUG-000154352&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;The symbology scale range display is not retained for a feature service in a Portal for ArcGIS web map.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;To me this BUG title is bit misleading as it does work for a feature service in the webmap if it is added as Portal item (look for content in the Portal and then add the feature service item). It is only not supported if you had the service by URL (either FeatureServer or MapServer/id) as it does not retrieve the symbology described in the Portal item but instead directly from the ArcGIS Server.&lt;/P&gt;&lt;P&gt;It would have been better to enlarge a bit the scope of this BUG to ArcGIS Server services (both FeatureServer service and featureLayer created from a MapServer layer) rather than restricting it to some webmap use.&lt;/P&gt;&lt;P&gt;Anyway, thanks for having chimed in&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/44467"&gt;@KristianEkenes&lt;/a&gt;! Feel free to ping anyone from&amp;nbsp;&lt;SPAN&gt;Pro/Enterprise side &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 14:28:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1301523#M81457</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2023-06-21T14:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI JS API 4.27: scale based symbology not systematically honoured depending on instantiation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1555518#M86030</link>
      <description>&lt;P&gt;is there a solution available to use scale based symbols with feature services (in Map Viewer of portal 11.3)?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 18:01:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-api-4-27-scale-based-symbology-not/m-p/1555518#M86030</guid>
      <dc:creator>MarkusSchenardi</dc:creator>
      <dc:date>2024-11-05T18:01:38Z</dc:date>
    </item>
  </channel>
</rss>

