<?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: Configuring renderer with nested property in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/configuring-renderer-with-nested-property/m-p/1397994#M84064</link>
    <description>&lt;P&gt;Please see &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-style-a-feature-layer-by-object-field/m-p/1297879" target="_self"&gt;this thread&lt;/A&gt;&amp;nbsp;and &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-layer-property-is-an-object/m-p/1249175" target="_self"&gt;this thread&lt;/A&gt;, which discuss how to deal with nested properties in a GeoJSON layer.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 17:29:15 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2024-03-19T17:29:15Z</dc:date>
    <item>
      <title>Configuring renderer with nested property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/configuring-renderer-with-nested-property/m-p/1394636#M83967</link>
      <description>&lt;P&gt;Hi, I have a client side GeoJson layer with nested attributes. I am trying to use nested key(in field) for configuring renderer but this does not works for me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone suggest the possible way to use nested property in renderer.&lt;/P&gt;&lt;P&gt;Attaching code snippet for reference&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;export&lt;/SPAN&gt; &lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;renderer&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; () &lt;/SPAN&gt;&lt;SPAN&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;const&lt;/SPAN&gt;&amp;nbsp;symbol&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;setPictureMarkerSymbol&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;recycle&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;symRenderer&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;new&lt;/SPAN&gt; &lt;SPAN&gt;ClassBreaksRenderer&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;field: 'materialAcceptedDetail[0]["materialId"]',&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;legendOptions&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;title&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;"Facility"&lt;/SPAN&gt;&lt;/DIV&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SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 13:49:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/configuring-renderer-with-nested-property/m-p/1394636#M83967</guid>
      <dc:creator>HardikVarshney</dc:creator>
      <dc:date>2024-03-12T13:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring renderer with nested property</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/configuring-renderer-with-nested-property/m-p/1397994#M84064</link>
      <description>&lt;P&gt;Please see &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-style-a-feature-layer-by-object-field/m-p/1297879" target="_self"&gt;this thread&lt;/A&gt;&amp;nbsp;and &lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geojson-layer-property-is-an-object/m-p/1249175" target="_self"&gt;this thread&lt;/A&gt;, which discuss how to deal with nested properties in a GeoJSON layer.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 17:29:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/configuring-renderer-with-nested-property/m-p/1397994#M84064</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2024-03-19T17:29:15Z</dc:date>
    </item>
  </channel>
</rss>

