Error Message: "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" I am not clear on what this means or how to fix it.

1767
2
04-19-2017 12:09 PM
Billsalin
New Contributor

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.

0 Kudos
2 Replies
by Anonymous User
Not applicable

Did you manage to figure this one out? I am having this issue currently

0 Kudos
TanuHoque
Esri Regular Contributor

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.

0 Kudos