HOW TO

Recover the SampleWorldCities map service from the ArcGIS Server site

Last Published: May 3, 2023

Summary

The SampleWorldCities map service is a default service in ArcGIS Enterprise used to run tests and preview functionalities of a new ArcGIS Enterprise deployment. The SampleWorldCities map service is an optional service that can be deleted and readded at anytime. This article highlights the methods to recover the SampleWorldCities map service from the ArcGIS Server site.

Procedure

Republish the SampleWorldCities data from ArcGIS Online

  1. Navigate to the following URL:
https://sampleserver6.arcgisonline.com/arcgis/rest/services/SampleWorldCities/MapServer
  1. For View In, click ArcGIS Pro.
The SampleWorldCities map service in the ArcGIS REST Services Directory with the option to open the service in ArcGIS Pro
  1. Open the downloaded SampleWorldCities ArcGIS Pro portal item (.pitemx) file.
  2. Publish the map as a map service to the connected ArcGIS Server site. Refer to ArcGIS Pro: Publish a map service for instructions.

Republish the SampleWorldCities data from the ArcGIS Server data directory if the directory is still available

  1. On the machine, navigate to the following directory:
C:\Program Files\ArcGIS\Server\framework\etc\data\WorldCities
  1. Open the WorldCities ArcGIS Pro map (.mapx) file.
Note:
Alternatively, add a file geodatabase connection in a new ArcGIS Pro project to the worldcities.gdb geodatabase and add the World feature dataset to the map in the Catalog pane. Refer to ArcGIS Pro: Add an existing database to a project for instructions.

The ArcGIS Server data directory containing the WorldCities map file and worldcities gdb file

  1. In ArcGIS Pro, publish the map as a map service to the connected ArcGIS Server site. Refer to ArcGIS Pro: Publish a map service for instructions.

Republish the SampleWorldCities data from ArcGIS Hub

  1. Navigate to the following URL:
https://hub.arcgis.com/datasets/esri::world-cities/explore?location=3.800119%2C1.535162%2C2.69
  1. Click Download.
  2. Under Download Options, click Download on the required file type containing the World Cities data.
  3. In ArcGIS Pro, add the downloaded file to the map depending on the file type.
  1. Publish the map as a map service to the connected ArcGIS Server site. Refer to ArcGIS Pro: Publish a map service for instructions.

Article ID: 000030200

Software:
  • Portal for ArcGIS
  • ArcGIS Server
  • ArcGIS Pro 3 1
  • ArcGIS Pro 3 0

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options