Connecting your ArcGIS Server Services Directory to the portal

The ArcGIS Server Services Directory is a RESTful representation of all the services running on your ArcGIS Server site. One of the links in the Services Directory allows you to preview a service in an ArcGIS.com Map. You can configure the Services Directory so that this link displays the service in your own portal's map viewer instead of the ArcGIS.com map viewer.

You can also configure the Services Directory to use the locally deployed ArcGIS API for JavaScript installed with the portal. This is used when the user chooses to view a service with the ArcGIS JavaScript link.

Steps:
  1. In a web browser, open the ArcGIS Server Administrator directory and log in with an account that has administrative privileges to the site. The Administrator Directory is typically available through a URL such as http://gisserver.domain.com:6080/arcgis/admin. If your server is federated with the portal, see Accessing REST resources from a federated server for more guidance on how to log in.
  2. In the Administrator Directory, click system > handlers > rest > servicesdirectory > edit.
  3. In the ArcGIS.com URL box, type the URL to your portal's map viewer, for example, https://webadaptor.domain.com/arcgis/home/webmap/viewer.html
  4. In the ArcGIS.com Map Text box, type a label for your map viewer URL, for example, Portal for ArcGIS Map.
  5. If you want to use a locally deployed version of the ArcGIS API for JavaScript, modify the following boxes to contain the local URLs.
    • JavaScript API URL

      Example: https://webadaptor.domain.com/arcgis/jsapi/jsapi/

    • JavaScript API SDK URL

      This URL is connected to the Built using the ArcGIS JavaScript API link that appears at the top of the page when you view a service using the ArcGIS JavaScript API. By default, it goes to the online SDK for the ArcGIS API for JavaScript. You can replace this with a link to a locally installed ArcGIS API for JavaScript SDK you obtained from the Esri Downloads page.

    • JavaScript API CSS URL

      Example: https://webadaptor.domain.com/arcgis/jsapi/jsapi/js/dojo/dijit/themes/tundra/tundra.css

    • JavaScript API CSS2 URL

      Example: https://webadaptor.domain.com/arcgis/jsapi/jsapi/js/esri/css/esri.css

  6. Click Save.
5/5/2015