Several map/feature services pointing to the same mxd

806
5
03-23-2017 08:25 AM
JoseSanchez
Occasional Contributor III

Hello everyone,

I created 2 map/feature services pointing to the same mxd.

Is this a good practice or is it better to have each map/feature service pointing to their own mxd? In this case I am going to copy/paste the mxd.

Thanks

0 Kudos
5 Replies
JayantaPoddar
MVP Esteemed Contributor

If both map services contain same content, it can be used as a common map service in multiple applications. Why create 2 map services? Unless you want to represent Map services differently, in which case you will have to do different modifications in the MXDs, you could use one Map service.

If you want to edit the feature services that would be independent of each other, I would suggest use of separate feature classes along with different MXDs.



Think Location
JoseSanchez
Occasional Contributor III

Hi Jayanta,

This is what I want to implement creating 2 map/feature services from the same "mxd" and configure the service in ArcGIS server as follow:

- first map service, under "Select and configure capabilities",  "Feature Access", enable Update and delete records created by the editor. This service is only used by editors

- second map service, under "Select and configure capabilities",  "Feature Access", enable to edit any record. This service is going to be used by managers.

Thanks

0 Kudos
KenBuja
MVP Esteemed Contributor

Is this on your own server or through AGOL? If it's on AGOL, you can make use of the hosted feature layer view.

If you need a different view of the data represented by a hosted feature layer—for example, you want to apply different editor settings, apply different styles or filters, define which features or fields are available, or share the data to different groups than the hosted feature layer—create a hosted feature layer view of that hosted feature layer.

0 Kudos
JoseSanchez
Occasional Contributor III

We use AGOL, but we use feature services pointing to our local SDE Geodatabase. 

I tested Feature Hosted Services but they upload the data online and we want to have all edits directly in our Geodatabase.  We use AGOL Feature Layers  not feature hosted Layers. In this case Feature Hosted Views do not work. 

FilipKrál
Occasional Contributor III

Hi Jose, 

I think there is no harm in publishing the two (or more) services from a single map document. As far as I understand, ArcGIS for Server will convert it in to service definition files (.sd) for each service separately. The services will use the .sd files stored in internal ArcGIS server folders and the original .mxd will not be used by the services directly anyway.

See PublishMSDToServer—Help | ArcGIS Desktop 

Filip.