Trying to simply add a feature layer to a map but am receiving an error:
"FeatureLayer: unable to find field of type 'geometry' in the layer 'fields' list. If you are using a map service layer, features will not have geometry "
The Url I am pointing to is a feature layer on a server. I am not clear if this is because I just cannot use the layer due to CORS not enabled or another reason. thanks in advance.
It basically means that your might have layer in your map service where the shape field is invisible. Please check the field list in the layer resources and make sure the shape/geometry field is in there...
... if not then you need to republish the service with the shape field visible.