<?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: Can't use feature layers that have multiple symbol types / unique value infos in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-use-feature-layers-that-have-multiple-symbol/m-p/543201#M50576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get a similar error with the same type of layer (multiple symbol types on the layer), but the layer it complains about for me is 'Creator'.&lt;/P&gt;&lt;P&gt;I have specified outFields in the constructor and still get this problem. Although I am not outputting all fields as shown in the example, I am only specifying a certain subset of fields that I need for popups to work properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2019 12:26:12 GMT</pubDate>
    <dc:creator>DougSims_GT</dc:creator>
    <dc:date>2019-02-08T12:26:12Z</dc:date>
    <item>
      <title>Can't use feature layers that have multiple symbol types / unique value infos</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-use-feature-layers-that-have-multiple-symbol/m-p/543199#M50574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My layer looks like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000;"&gt;Drawing Info:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Renderer:&lt;/EM&gt;&lt;EM&gt;Unique Value Renderer:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Field 1:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;STRONG&gt;BLPU_CLASS&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;Field 2:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;null&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Field 3:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;null&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Field Delimiter:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Default Symbol:&amp;nbsp;&lt;/EM&gt;N/A&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Default Label:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;null&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;UniqueValueInfos:&lt;/EM&gt;&lt;/P&gt;&lt;DIV style="margin-left: 6em; color: #000000;"&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Value:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;CM03&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Label:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;Hospital&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Description:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Symbol:&lt;/EM&gt;&lt;IMG alt="Picture Symbol" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/429588_pastedImage_1.png" /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Value:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;CX01&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Label:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;Police Station&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Description:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Symbol:&lt;/EM&gt;&lt;IMG alt="Picture Symbol" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/429605_pastedImage_2.png" /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Value:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;CX02&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Label:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;Fire Station&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Description:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Symbol:&lt;/EM&gt;&lt;IMG alt="Picture Symbol" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/429589_pastedImage_3.png" /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;P&gt;&lt;EM&gt;Transparency:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;0&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Labeling Info:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using the feature layer like so:&lt;/P&gt;&lt;P&gt;var layer = new FeatureLayer({&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; url: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F...%2Farcgis%2Frest%2Fservices%2FExternal_Maps%2FAll_Data_Points%2FMapServer%2F6" rel="nofollow" target="_blank"&gt;https://.../arcgis/rest/services/External_Maps/All_Data_Points/MapServer/6&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; title: "...",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; visible: false&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error in my console:&amp;nbsp;&lt;/P&gt;&lt;P&gt;[esri.layers.FeatureLayer] [outFields] Invalid field:&amp;nbsp; &lt;STRONG&gt;BLPU_CLASS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This occurs for any layer like above, with multiple symbol types on the layer. They appear in the layerlist but nothing is shown when I toggle the layer in question. Layers that only have one symbol type work fine as intended.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2018 10:33:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-use-feature-layers-that-have-multiple-symbol/m-p/543199#M50574</guid>
      <dc:creator>ShakilChoudhury</dc:creator>
      <dc:date>2018-11-15T10:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use feature layers that have multiple symbol types / unique value infos</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-use-feature-layers-that-have-multiple-symbol/m-p/543200#M50575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shakil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try adding the outFields property to the constructor:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;var layer = new FeatureLayer({&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp; &amp;nbsp; url: "&lt;/SPAN&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F...%2Farcgis%2Frest%2Fservices%2FExternal_Maps%2FAll_Data_Points%2FMapServer%2F6" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; font-size: 14px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://.../arcgis/rest/services/External_Maps/All_Data_Points/MapServer/6&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;",&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; title: "...",&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; visible: false,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; outFields: ["*"]&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2018 13:39:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-use-feature-layers-that-have-multiple-symbol/m-p/543200#M50575</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-11-15T13:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use feature layers that have multiple symbol types / unique value infos</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-use-feature-layers-that-have-multiple-symbol/m-p/543201#M50576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get a similar error with the same type of layer (multiple symbol types on the layer), but the layer it complains about for me is 'Creator'.&lt;/P&gt;&lt;P&gt;I have specified outFields in the constructor and still get this problem. Although I am not outputting all fields as shown in the example, I am only specifying a certain subset of fields that I need for popups to work properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 12:26:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-use-feature-layers-that-have-multiple-symbol/m-p/543201#M50576</guid>
      <dc:creator>DougSims_GT</dc:creator>
      <dc:date>2019-02-08T12:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can't use feature layers that have multiple symbol types / unique value infos</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-use-feature-layers-that-have-multiple-symbol/m-p/543202#M50577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You also have to be sure you include any fields used in the renderer as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 13:53:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-t-use-feature-layers-that-have-multiple-symbol/m-p/543202#M50577</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-02-08T13:53:05Z</dc:date>
    </item>
  </channel>
</rss>

