I have published a service with Shape.len field visible. I see the field name "SHAPE.LEN" in ArcGIS online map viewer once I configure pop-ups, but there are no values. Any ideas what I might be missing?
Is the service published to your ArcGIS Server?
Is the source data stored in a geodatabase?
Are you sure the field had a value when you published it? (I have heard of other bugs where the field in the geodatabase is not filled in; search geonet for shape.len).
The shape.len field is created by the geodatabase and managed as part of the geodatabase. If you export it to a different format, like a shapefile, I'm not sure what gets written out, but the field will not be maintained in a shapefile if the data is edited.
Also, if you were to publish from ArcMap to a hosted feature layer, the field is also not currently maintained.
Thanks,
Mike
Thanks for the response!
I am sure that the field is both populated and published and I can see it in ArcMap when I add the service to the map. It is not visible in Arcgis.com viewer. The service is published to our GIS Server and yes, it's stored in a geodatabase.
Thanks again for the help!
Lisa
As those field values are not being maintained currently when published as a hosted feature layer, they must be getting cleared out on publishing. I presume this may have been intentional so that people don't think that the values are correct.
We are working to enhance this behavior to support these values in a hosted layer.
Thanks for the response. Let me make sure I understand. Even though my service is published to our GIS Server, when I add it to Arcgis.com, does it become a hosted service? And that's why the value isn't published?
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.