Which is the limit of the number of fields that a Feature Layer hosted one can have?

1827
2
Jump to solution
05-25-2017 08:29 AM
AlessandroValra
Occasional Contributor III

Hi.

Many times I publish feature services from ArcMap (10.4.1) with the button Share As to my AGOL account.

I noticed that if the layers in the mxd are a lot, and somehow heavy (many geometries and many fields), the publishing processes sometimes throw errors. So, I always split my mxd in many different mxds with each one or two layers.

While using this strategy I am able to finish the whole publishing process, after a "published succeeded" message, when I enter my AGOL and see my feature layers in the web map they are empty (no geometries nor attributes).

The only this that have worked so far was to hide some fields in my layers before publishing them, and, after publishing them, I am able to see them correctly.

I know there might be limitations due to the number of records/geometries, but it should also be stated that having too many fields will cause the feature layers not to upload correctly, although the publishing process from ArcMap does not throw any error. In my specific case, this happened (e.g.) with a polygon shapefile with 415 records, and 20 fields. It does not seem so much to me, also considering the fields are 50% text and 50% short intger.

0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

There should be no problem publishing a feature service with 20 fields. If you found the publishing was successful when hiding fields it is likely an issue with one of those fields. Sometimes bad geometry can also cause problems.

Have you tried running the check geometry tool on the data?

What is the projection for the data? Does it match for all the layers?

Did any of the hidden field names contain spaces or potentially invalid characters?

View solution in original post

2 Replies
by Anonymous User
Not applicable

There should be no problem publishing a feature service with 20 fields. If you found the publishing was successful when hiding fields it is likely an issue with one of those fields. Sometimes bad geometry can also cause problems.

Have you tried running the check geometry tool on the data?

What is the projection for the data? Does it match for all the layers?

Did any of the hidden field names contain spaces or potentially invalid characters?

AlessandroValra
Occasional Contributor III

Great, thanks! The problem was indeed I had a fieldname with a strange character (it's a "°").

Simply hiding this field led me publish the layer succesfully. Thank you very much.