Feature Layer from SDE FeatureServer does not show any data

1398
11
10-26-2016 11:36 AM
JoseSanchez
Occasional Contributor III

Hello everyone,

Configuration:    ArcGIS Server 10.2.2, ArcSDE 10.2.2 using Oracle.

Issue: Feature Layer from SDE does not show any data in FeatureServer ArcGIS Online.

My steps:

 - selected editable feature class in ArcSDE 10.2 instance. The layer is versioned,

 - created a mxd with only this layer. Shared as Service, checked Feature Access and published it in my local server

 - created in ArcGIS Online a Feature Layer pointing to the Feature Server in my local server:

http://[myserver]:6080/arcgis/rest/services/[folder]/[service_name]/FeatureServer/0

After creating the Feature Layer in ArcGIS online, what I do not understand is why my service URL becomes:

http://services.arcgis.com/8Pc9XBTAsYuxx9Ny/ArcGIS/rest/services/[Folder]/FeatureServer/0

I need the Feature Layer to point locally to my server not to services.arcgis.online

How can I do that?

Thanks.

0 Kudos
11 Replies
RobertScheitlin__GISP
MVP Emeritus

Jose,


  Yes that is normally the case when you create a hosted FeatureLayer on AGOL (being empty until you load some data). But I am struggling still to understand why you are not able to just add your local URL that uses FeatureServer as a layer in map viewer and not worry at all about hosting the FeatureLayer on AGOL.

0 Kudos
JoseSanchez
Occasional Contributor III

Found it:  instead of using the option Create a Feature Layer,  I used the option Add Item from the Web, and it also creates a Feature Layer but this time pointing to a local service. 

0 Kudos