Save a service definition for a map service

With ArcGIS Pro, you can save a service definition for a map service to be published to your stand-alone ArcGIS Server at a later time. A service definition file (.sd) contains information about the map service's properties and capabilities. See Introduction to saving service definitions to learn more about how service definitions can be used in your organization's sharing workflows.

You can save a service definition for a map service with a specific connection or without a connection when offline or disconnected from the server.

Save a connected service definition for a map service

A connected service definition is configured for a specific server connection. The option to save a service definition is available in the Publish Map Service pane when you are connected to a stand-alone ArcGIS Server.


In the Publish Map Service pane, click the Publish drop-down arrow and click Save As SD to save a service definition file.

The workflow to save a service definition for a map service is similar to publishing a map service and is not discussed in detail here. To learn about saving a service definition for a map service, see Publish a map service.

Save an offline service definition for a map service

An offline service definition is connection-neutral; it is not configured for any specific server connection. You can save an offline service definition if you are offline or not connected to the server. This workflow explains how to save an offline service definition for a map service with default settings to be later published to a stand-alone server. To change the default configuration, see Configure a map service.

To save a service definition for a map service in a disconnected environment, complete the following steps:

  1. Right-click the name of the map in the Contents pane, point to Save As Offline Service Definition, and click Map Service on Standalone Server Service Definition.

    The Save As Offline Service Definition pane appears.

  2. Provide a name for the map service.
  3. Complete the Summary and Tags fields.
  4. Choose a Data option.
    • To avoid having a copy of the data placed on the server, register your data to the server using ArcGIS Server Manager and choose the Reference registered data option.
    • To maintain a separate copy of the data for web use, choose the Copy all data option.

    For more information on data registration, see Register your data with ArcGIS Server using ArcGIS Desktop or ArcGIS Pro.

  5. Under Location, for Folder, optionally provide a server folder name to specify an existing folder or a new folder.

    By default, the service is stored in the root folder of the server.

  6. Under Finish Staging, click Analyze to review for problems.

    Errors and warnings are listed on the Messages tab. Right-click a message to open its help topic or take corrective action in the software. Errors Error must be resolved before you can save the service definition. Resolving warnings Warning is recommended but not required.

    Learn more about analyzing GIS resources

  7. After you have resolved errors, and optionally resolved warnings, click Save.

    The Save As Service Definition File dialog box appears.

  8. On the dialog box, specify the location for the service definition file and click Save.
  9. Optionally click Jobs to monitor the job status.
  10. Once the service definition has been successfully staged, click the Manage the service definition link at the bottom of the pane to open the location of the service definition file.

If you are ready to publish your map service to a stand-alone ArcGIS Server, see Publish a service definition.

Related topics