Publishing a mobile service

Publishing your maps as mobile services to an on-premises ArcGIS Server allows your field workers to download content and synchronize edits directly from their mobile devices.

To create a mobile service, you need to publish a map service with Mobile Data Access capability. You can turn on this capability by checking Mobile Data Access in the Capabilities area on the Service Editor window, as shown in the following image. This setting gives the map service the capability to be consumed by ArcGIS for Windows Mobile.

NoteNote:

For details on how to publish a map service to an ArcGIS Server, see Publishing a map service.

Service Editor dialog box

NoteNote:

The KML capability is checked by default, but it's not needed by a mobile service. You can uncheck this capability.

Registering data with ArcGIS Server

Consider the location of your data when publishing a service, because the location can affect your field workflow. Data is editable only if it has a GlobalID field, it resides in an ArcSDE geodatabase, and it's registered to your ArcGIS Server. This means the server references and accesses the source data directly. If the data is not registered , the dataset or datasets where the map points will be copied to and used by the server. If, however, your data resides in a file geodatabase and it contains GlobalID, you can make it editable by using the Create Mobile Cache Tool. See Operational layer properties for more information.

For details regarding registering a database with ArcGIS Server, see Registering your data with ArcGIS for Server using ArcGIS for Desktop. You can also register the data to ArcGIS Server using the following steps:

Steps:
  1. When you're ready to publish your map, analyze it by clicking the Analyze button at the top right of the Service Editor window.
  2. As shown in the following image, if the result panel shows the warnings of code 24011 (one warning per map layer), it means your data hasn't been registered. To register, right-click a map layer, then click Register Data Source With Server. If your map contains multiple layers, first expand the group of warnings, then right-click any layer and click Register Data Source With Server.
    Analyze results panel

    The Register Database dialog box appears.

  3. Input a value for the Name field to identify the database, then click OK.
    TipTip:

    Each database only needs to be registered once to ArcGIS Server.

    When the database is registered successfully, the status of the warning will change to [Re-analyze].

  4. Re-analyze your map if desired, then publish it.
6/4/2013