<?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: JS Api 4.7 Sublayer.createFeatureLayer() is not working in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-7-sublayer-createfeaturelayer-is-not/m-p/400295#M36868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andriy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the renderer is null, you can pass a SimpleRenderer to it prior to calling the createFeatureLayer() method, and it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2018 16:36:20 GMT</pubDate>
    <dc:creator>KristianEkenes</dc:creator>
    <dc:date>2018-08-30T16:36:20Z</dc:date>
    <item>
      <title>JS Api 4.7 Sublayer.createFeatureLayer() is not working</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-7-sublayer-createfeaturelayer-is-not/m-p/400292#M36865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am&amp;nbsp;working with MapImageLayer on map.&amp;nbsp;As i need to update some data i am trying to create FeatureLayer from sublayer. But function&amp;nbsp;Sublayer.createFeatureLayer()&amp;nbsp; returns error "Cannot read property 'clone' of null" . I see that property&amp;nbsp;&lt;SPAN&gt;Sublayer.renderer is null and it causes this error. But i am not sure how to fix it. Any thoughts ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2018 08:51:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-7-sublayer-createfeaturelayer-is-not/m-p/400292#M36865</guid>
      <dc:creator>AndriyGalayda</dc:creator>
      <dc:date>2018-06-19T08:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: JS Api 4.7 Sublayer.createFeatureLayer() is not working</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-7-sublayer-createfeaturelayer-is-not/m-p/400293#M36866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late reply. Are you still having an issue with the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#createFeatureLayer"&gt;createFeatureLayer()&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;method? Do you have a code sample you could share?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;-Noah&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 17:47:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-7-sublayer-createfeaturelayer-is-not/m-p/400293#M36866</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2018-08-28T17:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: JS Api 4.7 Sublayer.createFeatureLayer() is not working</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-7-sublayer-createfeaturelayer-is-not/m-p/400294#M36867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved this by using QueryTask.Get result as FeatureDataset and then just create FeatureLayer with this dataset&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 09:06:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-7-sublayer-createfeaturelayer-is-not/m-p/400294#M36867</guid>
      <dc:creator>AndriyGalayda</dc:creator>
      <dc:date>2018-08-30T09:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: JS Api 4.7 Sublayer.createFeatureLayer() is not working</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-7-sublayer-createfeaturelayer-is-not/m-p/400295#M36868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andriy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the renderer is null, you can pass a SimpleRenderer to it prior to calling the createFeatureLayer() method, and it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 16:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-7-sublayer-createfeaturelayer-is-not/m-p/400295#M36868</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2018-08-30T16:36:20Z</dc:date>
    </item>
  </channel>
</rss>

