Publishing a hosted feature service using an ArcMap document

From ArcMap, you can publish a feature service to be hosted on ArcGIS Online. The service will expose all vector datasets included in the map document.

An Internet connection is required to perform these steps. The speed and bandwidth of your connection affect how fast the service will be published.

Steps:
  1. Start ArcMap 10.1 and open the map you want to publish.
  2. Click File> Sign In.
  3. Type your name and password for ArcGIS Online, then click Sign In.
  4. Click File > Share As > Service.
  5. Choose Publish a service and click Next.
  6. In the drop-down list of connection types, choose My Hosted Services. Then type a name for your service and click Continue.
  7. In the Service Editor, set the properties that you want for your service. Here you can choose what users can do with your service and take fine-grained control of how the server will expose your service.

    For information on how to best configure your services for deployment, see Tuning and configuring services. Some of the service properties referenced in that topic apply only to ArcGIS for Server and are not applicable when working with ArcGIS Online hosted services. For example, with ArcGIS Online hosted services there is no option to set the minimum and maximum number of instances of the service, because Esri handles the service scaling for you.

    TipTip:

    If you close the Service Editor during this session, you'll be prompted to save your work as a draft service. Draft services allow you to come back to your service configuration work at a later time. By default, draft services are saved in the Drafts folder of your connection to My Hosted Services. For more information, see About draft services.

    There are a few properties you need to set that are specific to ArcGIS Online hosted services. These are detailed in the following steps.

  8. In the left pane of the Service Editor, click Capabilities, then check Feature Access to expose your service as a feature service. You can optionally also check Tiled Mapping, although in most scenarios, you would use a different set of layers and a different map document for publishing your tiled map.

    You can click the subitem Feature Access in the left pane of the Service Editor to set advanced properties relating to what clients can do with the service. To learn how to adjust the types of edits that end users can make to your feature service, see Editor permissions for feature services.

  9. In the left pane of the Service Editor, click Item Description and enter a summary and tags for your service. You'll need to enter this information before you can publish the service. For more information, see Setting map service properties.
  10. In the left pane of the Service Editor, click ArcGIS Online and choose who the service should be shared with. By default, your service is private, meaning it is only accessible to you. Your service will always be visible in My Content, but you can also choose to share it with everyone or just members of certain ArcGIS Online groups.
  11. In the Service Editor, click Analyze Analyze. This examines your map to see if it can be published as a service. You must fix the Errors Error in the Prepare window before you can publish your map as a service. Optionally, you can fix the warnings and informational messages to further improve the performance and appearance of your service. For more information about resolving these issues, see Analyzing your GIS resource.
  12. Optionally, in the Service Editor, click Preview Preview. This can give you an idea of how your service will look when viewed on the web.
  13. Once you've fixed the errors and optionally any warnings and messages, click Publish Publish.
    NoteNote:

    Your data is copied to the server at this point. The size of the data and your Internet connection speed and bandwidth will impact the time it takes to publish.

Once your service is published, you'll see it when you expand the My Hosted Services node in the Catalog window.

12/12/2012