Hi guys, I have a feature layer with two types, by default all the types are displayed,
I am planning to add a checkbox list to check or uncheck the type displayed, I have found the property "types" in featureLayers, and I have tried to use it like that :
featureLayer9 = new FeatureLayer(url+"9", {
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ["*"],
id:"troncon",
visible:true,
types:{"Name":"Normale"}
});
but it didn't work, all I wanna is the ability to extract the type of every single row in a feature layer, Can you help me ?

Thomas Solow Robert Scheitlin, GISP Rebecca Strauch, GISP
https://community.esri.com/community/gis/enterprise-gis/arcgis-for-server?sr=search&searchId=50b2150a-d8e9-451c-bb03-5d52971c589c&searchIndex=1