When I load a map from ArcGIS online and get a reference to the feature layers through the map's graphicLayerIds, the resulting feature layer does not support setting definition expressions. Is there a way to grab those feature layers so that I can set definition expressions?
The map in question is below. All the layers are .csv file loaded into the map. Would it work if I loaded the .csv files into arcgis.com directly and then added them to a map? Any suggestions are appreciated.