Select to view content in your preferred language

Feature Layer with no Feature Service?

907
3
Jump to solution
06-06-2013 10:23 AM
ionarawilson1
Deactivated User
I've noticed in ESRI examples that use feature layers that the URL directory does not have a FeatureServer, just a MapServer. When I published my feature service to use some of the examples, I can see both the MapServer and the FeatureServer in the directory. Why is that? Do I really need to publish the service as feature service or should I just publish it as map service but have the service as a featurelayer in the Flex application?

Thanks

Here is one of ESRI Examples

http://help.arcgis.com/en/webapi/flex/samples/index.html#/InfoWindow_on_MouseOver/01nq0000001q000000...

And the URL directory

http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
DasaPaddock
Esri Regular Contributor
You don't need to publish the feature service if you're not editing the layer.

View solution in original post

0 Kudos
3 Replies
DasaPaddock
Esri Regular Contributor
You don't need to publish the feature service if you're not editing the layer.
0 Kudos
ionarawilson1
Deactivated User
So, can I just use a file geodatase then? Then publish it as a map service and call it a feature layer?
0 Kudos
RhettZufelt
MVP Notable Contributor
Yes, you can load data from a FGDB, then publish as a mapservice only.

Then, depending on whether you need a feature or dynamic service, you can load as dynamic data (type="dynamic"  http://gis01.wch-rcc.com/ArcGIS/rest/services/Base/Base/MapServer )  or type="feature" http://gis01.wch-rcc.com/ArcGIS/rest/services/Base/Base/MapServer/1  by appending the individual layer number in the url.

However, as Dasa pointed out, you will not be able to "edit" this layer unless it is actually published as a FeatureService.

R_
0 Kudos