Uploading the map to the Mobile Content Server

Once you have created your map and properly validated the JSON structure, add your map to the Content Server.

Steps:
  1. Click the Add Item supported operation link.
  2. Enter your Content Server credentials.

    Clicking on the link you will be challenged to enter a username and password. You will need to enter a valid username and password that is inside of the agsadmin group on your web server. If you have created a local account (not a domain-based account) on the web server, you do not need to include the domain name in your username entry as the server will assume it is local user and will try to use it to authenticate.

    NoteNote:

    If you are using Internet Explorer (IE), and you have Windows Integrated Authentication turned on, and your log in account and machine is in the same domain of your server machine, IE will take advantage of using Windows Authentication and you will not be prompted. It will use your logged in credentials automatically. Please keep in mind that Windows Authentication only works if you enter only machine name (like http://servername) and not a fully qualified domain name such as http://servername.mydomain.com.

  3. On the Add Item page, enter the following requested information about your map.
    1. Text—this is the JSON for the map. Copy and paste your map content into the text field.
      {
        "version":"1.1",
        "operationalLayers":[],
        "baseMap":{
          "baseMapLayers":[{
            "opacity":1,
            "url":"http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer",
            "visibility":true}],
           "title":"Topographic"}
      }
      
    2. Item—a unique identifier for the map (you do not need to enter any details here).

      RoseBowl

    3. Overwrite existing file—if the file should replace an existing map with the same Item value.
    4. Name—a user-friendly name for the map.

      Rose Bowl in Pasadena

    5. Title—name given to your map. The title appears at the rest endpoint and can be different than the Name.

      Rose Bowl in Pasadena

    6. Description—a long description detailing metadata content for the map.

      This map features a detailed view of the Rose Bowl stadium in Pasadena, site of the 2010 BCS Championship football game.The Rose Bowl is one of the featured areas of the City of Pasadena, California basemap that was recently added to the World Topographic Map.

    7. Snippet—a short description about the map. Also referred to as the Summary in ArcGIS Online.

      This map features a detailed view of the Rose Bowl stadium in Pasadena, site of the 2010 BCS Championship football game.

    8. Extent—Enter the bounding coordinates in format "xMin,yMin,xMax,yMax" using GCS coordinates.

      -118.1712, 34.1594, -118.1627, 34.1632

    9. Thumbnail—you can upload a default image to represent the map. It is recommended that if you choose to do so that you create a small PNG file representing the map extent or another image meaningful to the map user that is browsing the server looking for the appropriate map to open.

      c:\temp\rose_bowl.jpg

    10. Type—the type is Web Map. Do not change this.
    11. Format—determines whether or not the resonse will be in HTML or JSON. Leave as HTML.
    Screen shot of the Add Item options.
  4. Click the Add Item button at the bottom of the page.

Browse to your Content Server's directory and see your added map.

1/23/2012