Select to view content in your preferred language

Why is my published feature service empty

6738
11
Jump to solution
09-14-2017 02:00 PM
PhilipWorrall1
Occasional Contributor

Publishing from 10.5.  Preview shows correct results, and no error messages seen during publishing.  The Service Definition and Feature layer are both created, but empty - no records.

Tags (1)
1 Solution

Accepted Solutions
MatthewRuch1
Occasional Contributor

Check your editor tracking settings. In my case, the problem was a conflict with having editor tracking enabled on the FGDB feature classes, but also having the editor tracking fields turned off in ArcMap for publishing. Once I turned them back on in ArcMap, the feature service published with all data present. I also had success with disabling editor tracking and then turning off the corresponding editor tracking fields for publishing.

View solution in original post

11 Replies
PhilipWorrall1
Occasional Contributor
0 Kudos
JayantaPoddar
MVP Alum

I suspect the issue could be due to a problem with the spatial reference. Test if the layers are overlaying correctly over the basemap in ArcMap (before you publish).

If the above step looks fine, try to define the coordinate system of the data-frame to WGS_1984_Web_Mercator_Auxiliary_Sphere, use appropriate transformation method, and republish the Feature Layer.



Think Location
PhilipWorrall1
Occasional Contributor

We do not use WGS_1984_Web_Mercator_Auxiliary_Sphere on IndianaMap we use NAD_1983_UTM_Zone_16N (epsg projection 26916).  I've confirmed both the data frame and the layer are set to 26916. 

0 Kudos
AndrewNelson
Deactivated User

I am also having this issue. Posting 30,000 line features in a feature service. It publishes successfully but there are no records in the published feature service.

Have tried making new copies and overwriting or publishing new feature services. Spatial reference does not seem to be the issue.

0 Kudos
KellyGerrow
Esri Alum

I'd suggest sharing your map package or pro package to dig into the data and setup, but there sounds like a bug in the publishing process. Consider contacting https://community.esri.com/groups/technical-support?sr=search&searchId=1996f0dc-eac6-414d-9ef5-f7dba...‌ to help troubleshoot further.

-Kelly

MatthewRuch1
Occasional Contributor

Check your editor tracking settings. In my case, the problem was a conflict with having editor tracking enabled on the FGDB feature classes, but also having the editor tracking fields turned off in ArcMap for publishing. Once I turned them back on in ArcMap, the feature service published with all data present. I also had success with disabling editor tracking and then turning off the corresponding editor tracking fields for publishing.

deleted-user-w9lH51U7Qkb1
Deactivated User

I was having this issue when I tried to overwrite a layer from Pro. I tried creating a new layer, nothing. It turns out my editor tracking was on but I had hidden the fields while working in Pro. Unhiding the creator/editor fields before publishing fixed this. Doh!

BrianFausel
Frequent Contributor

I've had a similar experience with the editor tracking settings, anyone with this problem should definitely check that first.

0 Kudos
ViktoriaMagnis
Emerging Contributor

I am having the same issue. I enabled editing tracking for the dataset but it's still not working.  Do I need to enable editing tracking somewhere else??

0 Kudos