Publishing a hosted tiled map service to Portal for ArcGIS using an ArcMap document

From ArcMap, you can publish a tiled map service to be hosted on your portal.

Steps:
  1. Start ArcMap and open the map you want to publish.
  2. Click File > Sign In.
  3. Type your name and password for your portal, then click Sign In.
  4. Click File > Share As > Service.
  5. Choose Publish a service and click Next.
    CautionCaution:

    If you choose to overwrite the service instead, the existing service item is deleted from the portal and a new item is created with the same name. The new item is created in the root folder and the item is assigned a new ID. You will need to reconfigure sharing and, if necessary, move the item back to the folder it was in before you republished.

  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 the help topic 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 hosted services.

    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 Maps. For more information, see the topic 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 Tiled Mapping to expose your map as a tiled map service. You can also optionally check Feature Access, although in most scenarios, you would use a different set of layers and a different map document for publishing a feature service.

    You can click the subitem Tiled Mapping in the left pane of the Service Editor to set advanced properties relating to what clients can do with the service.

  9. Click the Caching item to set properties for the tile cache. See Creating a map cache for more detailed steps, keeping in mind that some of the advanced caching settings described in that book are only available when publishing directly to ArcGIS for Server.
  10. 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 the item description section in Setting map service properties.
  11. In the left pane of the Service Editor, click Sharing, and choose who the service should be shared with. By default, your service is shared to My Content only, 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, members of your organization, or just members of certain groups.
  12. 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.
  13. 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.
  14. 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. You should also budget some time for your tiles to be generated, whether you chose to build the tiles automatically or manually.

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

On the My Content page, your hosted service is listed as two independent items: a Map Service and a Service Definition. A service definition is a zipped file containing the map, its data, and details about how the service should be published. A service definition can be transferred and published to any machine running ArcGIS for Server

3/24/2014