Tutorial: Creating a web application

You can use Web Applications Manager to create and deploy a fully functional web mapping application. Web Applications Manager steps you through the process of selecting which services to display, configuring tasks, and choosing the look and feel of your web application. Once you've created the application, you can return and edit its properties in Web Applications Manager. If you want to make advanced customizations, you can import the application into Eclipse or NetBeans.

The steps below will help you use Web Applications Manager to create a simple web application that displays one map service. Before you start, you need to have a map service running.

Steps:
  1. Log in to Web Applications Manager, or, if you're already logged in, click the Home tab. The account you used to log in must be a member of the administrators group.
  2. On the Home page, click Create a web application.
  3. In the Host box, the name of the ArcGIS Server host machine will be shown. This parameter cannot be edited.
  4. In the Web application name input box, type a name for your application. Optionally, type a description, then click Next.
  5. Now you will select the map services that your application will display. First, you need to establish a connection to a GIS server. Click Add GIS Server and select ArcGIS Server Internet as the connection type. If you previously visited this page in the wizard during the same Web Applications Manager session, you may notice that the ArcGIS Server host already appears in the Available Services list. It is recommended that you select this host name in the list and click the refresh icon. This will display the updated list of services on this host.
  6. Type the URL of the ArcGIS Server you want to connect to. The URL syntax is http://<server>:6080/arcgis/services.
  7. After you have entered the required information, click Add. The services available on this server will be listed in the Add Layers dialog box.
  8. Select a map service and click Add. Optionally, you can just double-click the item. Click Next to go to the task configuration page.
  9. Click Next to skip the task configuration page. For information on adding tasks, see Configuring Tasks.
  10. Select which map elements will be visible in your web mapping application, then click Next. Available elements are Table of Contents, Overview Map, Scalebar, Copyright, and North Arrow.
  11. Type a name for the web application in the Title text input box, select a theme from the predefined list available, then click Next.
  12. On the summary page, click Next to create the web application.
  13. Check the check box next to the newly-created application and click the Deploy button.

To make more advanced edits to your application, you can open it in Eclipse or NetBeans.

10/19/2012