Publish application

The Image Observables application is published by moving the application files to a web server, converting them to an application, and defining the application pool using Microsoft Internet Information Services (IIS). This workflow uses Microsoft IIS 7; if you are using a different version, modify the workflow as necessary. Contact your server administrator for information about setting up the application on a virtual directory or server security.

Image Observables

To publish the Image Observables application, complete the following steps:

  1. Using Windows Explorer, browse to the Image Observables Proxy folder and open the proxy.config file in a text editor. Enter the URL for your Portal for ArcGIS or ArcGIS Online organization site (for example: https://sampleserver1.arcgisonline.com/arcgis/rest/services/, then save the file and exit.
  2. Copy the Image Observables folder into your web server root directory so it can be accessed as a website or virtual directory. In Microsoft Internet Information Services (IIS), the default web server directory is \directory\inetpub\wwwroot\.
  3. In IIS, convert the Image Observables folder to a Web Application and add the .json (application/json) MIME type.
  4. Optionally, you may need to set up a proxy page, if your feature services generate requests that exceed 2000 characters. Common situations where you may exceed the URL length are:
    • Using complex polygons as input to a task
    • Specifying a spatial reference using well-known text (WKT)

    View the Using the proxy page help topic for details on installing and configuring a proxy page.

  5. Test the application by browsing to the web address: http://localhost/[ImageObservablesPath]/index.html, where [ImageObservablesPath] is the name of the folder where you extracted the contents of the application.
Top