AnsweredAssumed Answered

Is it possible to use "generate render" functionality with AGO Feature Layers?

Question asked by azendel on Dec 13, 2013
Latest reply on Dec 13, 2013 by DSwingley-esristaff
This is the functionality we are hoping to use: https://developers.arcgis.com/en/javascript/jssamples/renderer_generate_renderer.html

The example explicitly states that "This sample requires an ArcGIS Server version 10.1 map service to generate a renderer."  However, the polygon layer used in this example is a "FeatureLayer".   In seperate apps, I'm successfully adding feature layers from AGO feature services to maps using the same code:

myLayer = new FeatureLayer();


I tried the sample with one of our AGO feature layers, but it broke down.  The sample app is quite complex and I don't know if I broke it by incorrectly substituting something in the code.  Or did it break because this functionality isn't available on AGO feature layers?  Can anybody confirm?  Again, I saw the part about requiring AGS 10.1, but I'd like to know for sure whether or not this functionality will also work with AGO feature layers

Thanks!

Outcomes