Hi, Maybe this is a bit late, but I got it working by wrapping configuration for the FeatureLayer in a featureCollection object like on this page: FeatureLayer | API Reference | ArcGIS API for JavaScript 3.23 var featureCollection = {
layerDefinition: {
fields: fields,
source: graphics,
objectIdField: "ObjectID",
renderer: absRenderer,
spatialReference: {
wkid: 4326
},
geometryType: "point",
popupTemplate: pTemplate
},
featureSet: null
};
lyr = new FeatureLayer(featureCollection);
... View more