<?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 GenerateRendererTask will work in custom featurelayer ? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/generaterenderertask-will-work-in-custom/m-p/698888#M65087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created custom feature layer and using it for&amp;nbsp;GenerateRendererTask but nothing happening . My question is&amp;nbsp;GenerateRendererTask will work in custom feature layer ? . If not what is the alternate method for doing class break renderer. I am attaching my code for reference.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Oct 2017 12:21:13 GMT</pubDate>
    <dc:creator>mohannainar1</dc:creator>
    <dc:date>2017-10-04T12:21:13Z</dc:date>
    <item>
      <title>GenerateRendererTask will work in custom featurelayer ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/generaterenderertask-will-work-in-custom/m-p/698888#M65087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created custom feature layer and using it for&amp;nbsp;GenerateRendererTask but nothing happening . My question is&amp;nbsp;GenerateRendererTask will work in custom feature layer ? . If not what is the alternate method for doing class break renderer. I am attaching my code for reference.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 12:21:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/generaterenderertask-will-work-in-custom/m-p/698888#M65087</guid>
      <dc:creator>mohannainar1</dc:creator>
      <dc:date>2017-10-04T12:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: GenerateRendererTask will work in custom featurelayer ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/generaterenderertask-will-work-in-custom/m-p/698889#M65088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The GenerateRendererTask is limited by the requirement:&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;The GenerateRendererTask is available for map service or tables that support the&amp;nbsp;generateDataClasses&amp;nbsp;operation (version 10.1 or greater)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Your FeatureLayer is coming from a FeatureCollection and not a Map Service so it will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you just need to setup the ClassBreaksRenderer manually like in this sample:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/renderer_class_breaks.html" title="https://developers.arcgis.com/javascript/3/jssamples/renderer_class_breaks.html"&gt;Class breaks renderer | ArcGIS API for JavaScript 3.22&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2017 12:50:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/generaterenderertask-will-work-in-custom/m-p/698889#M65088</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-10-04T12:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: GenerateRendererTask will work in custom featurelayer ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/generaterenderertask-will-work-in-custom/m-p/698890#M65089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 05:13:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/generaterenderertask-will-work-in-custom/m-p/698890#M65089</guid>
      <dc:creator>mohannainar1</dc:creator>
      <dc:date>2017-10-05T05:13:45Z</dc:date>
    </item>
  </channel>
</rss>

