Configuring the default map

ArcGIS for SharePoint includes two Extensible Markup Language (XML) files that are used to initialize the default map for the ArcGIS Map Web Part and the ArcGIS Location Field. These files, named MapWebPartStartupMapDocument.xaml and LocationOnMapStartupMapDocument.xaml, are deployed to the ArcGIS Mapping Configuration Files document library within each site collection on which ArcGIS for SharePoint is activated. The default map can be modified by editing these XML files.

To edit the XML file, complete the following steps:

  1. Navigate to the library containing the configuration file using the Quick Launch links or the Site Actions menu, and click View All Site Content.
  2. Under the Document Libraries heading, click ArcGIS Mapping Configuration Files:
    Document Libraries file listing
    The document library opens.
  3. Check the MapWebPartStartupMapDocument.xaml or LocationOnMapStartupMapDocument.xaml item.
  4. Click the Documents tab on the ribbon and click Edit Document (check out the document if necessary).
  5. Click OK if the following warning is displayed:
    Warning message
    The MapWebPartStartupMapDocument.xaml file will open in your default XML editor:
    <?xml version="1.0" encoding="utf-8"?>
    <e:Map xmlns=""
        <e:Envelope XMin="-16334576.8010418" YMin="699595.291282528" XMax="-6812752.83654833" YMax="7913098.29468664">
            <e:SpatialReference WKID="102100" />
      <e:ArcGISTiledMapServiceLayer Url="" esriExtensibility:Document.IsBaseMap="True" esriExtensibility:MapApplication.LayerName="Topographic"/>
  6. Make the desired changes and save the file. For example, the element defining the basemap could be updated to define a different map service:
    <e:ArcGISTiledMapServiceLayer Url="" />
    Map Web Parts within the same site collection that are created after the changes have been saved will reflect the updated configuration.
  7. Check the file back in to the ArcGIS Mapping Configuration Files library.