Tutorial: Creating a Web application

Release 9.3 E-mail This Topic Printable Version Give Us Feedback

You can use ArcGIS Server Manager and ArcIMS Web Manager to create and deploy a fully functional Web mapping application. 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 it in Manager. If you want to make advanced customizations, you can open the application in an integrated development environment (IDE) such as Microsoft Visual Studio.

ArcGIS Server tutorial

The steps below will help you use Manager to create a simple Web application that displays one map service. Before you start, you need to have a map service running. You can find instructions for that in "Map services".

To create a Web application in Manager, follow these steps:

  1. Log in to Manager or, if you're already logged in, click the Home tab. The account you used to log in must be in the agsadmin group, and it must be an administrator on the machine in order to create the Web application. If you're not sure if your account is an administrator on the machine, consult your system administrator or use the operating system tools to view the Administrators group.
  2. Click Create a web application
  3. In the Name text box, type a name for your application. This is the name by which you will see your application listed in Manager. Optionally, type a description. Then click Next.
  4. Now you will choose the map service that your application will display. First, you need to establish a connection with a GIS server. Click Add Layer. Then click Add GIS Server and choose ArcGIS Server Internet as the connection type.
  5. Type the URL of the ArcGIS Server you want to connect to. The URL will take the following form http://<server>/<instance>/services. For example, if connecting to a machine named myServer using the default instance name of arcgis, the URL would be http://myServer/arcgis/services.
  6. When you have entered all the connection information, click Add. You'll see a list of map services from the server you just added.
  7. Select a map service and click Add to move it into the Current Layers list. Click Close to return to the list of layers. Then click Next.
  8. This screen allows you to add tasks to your application. Configuring tasks is beyond the scope of this tutorial, but you can find information on working with tasks in Manager in the topic Configuring tasks. Tasks are optional, so for now, click Next to move to the next screen.
  9. Set the Title text, Theme, and Web page links.
    • The Title text will appear across the top banner of your application and in the title bar of the browser window.
    • The Theme specifies the top banner graphic and the color scheme of your application's menus.
    • The Web page links will appear in the top corner of your application. You can remove or edit the default links or add your own.

    When you finish setting these properties, click Next.

  10. Choose which map elements will be enabled in your application. Available elements are Table of Contents, Overview Map, Toolbar, Navigation, Scale Bar, Zoom Level, and Map Copyright Text. Each element has a Properties window where you can adjust how the element will look and behave in your Web application. For example, you can choose an icon or image that will be used for the Navigation control.
  11. When you finish configuring the map elements, click Next to review some information about the application that will be created. Take note of the URL so that you can access it later. You'll also be able to see this URL on the Applications tab of Manager.
  12. Click Finish to create the Web application. By default, it will open in a new browser window. If you want to change any of the settings you selected, you can now access the application from the Applications tab in Manager.

To make more advanced edits to your application, you can use an IDE. The Developer Help contains many topics on how you can use the programming libraries included with the Web Application Developer Framework (ADF) to further customize your Web applications.

ArcIMS tutorial

The steps below will help you use Web Manager to create a simple Web application that displays one map service. Before you start, you need to have a map service running. You can find instructions for that in the ArcIMS Help. Search for the topic "Administering your site | Publishing a service".

  1. Log in to Web Manager. Use a user name and password that is part of the Administrators group on your machine. Include the domain with your user name.
  2. Click New Web Application on the first page after logging in.
  3. Type a name for your application in the Name box. This is the name by which you will see your application listed in Manager. Then type a description and click Next.
  4. Select a map service that your application will display.
  5. First, you need to establish a connection with a GIS server. Click Add Layer, then click Add GIS Server. Choose ArcIMS as the connection type. Choose TCP on the dialog box and type in your server name. Click Add.
  6. Choose a service from the list and click Add to move it to the Current Layers list.
  7. Click Close to return to the list, and click Next to move to the next panel of the wizard.
  8. The next page allows you to add tasks to your application. Configuring tasks is beyond the scope of this tutorial, but you can find information on working with tasks in in the topic Configuring tasks. Tasks are optional, so for now click Next to move to the next screen.
  9. The next two pages are for setting page and map elements.

    Page properties include the Title, Theme, and Web page links. The Title text appears across the top banner of your application and in the title bar of the browser window. The Theme specifies the top banner graphic and the color scheme of your application's menus. The Web page links appear in the top corner of your application. You can remove or edit the default links or add your own.

    Map elements include the Table of Contents, Overview Map, Toolbar, Navigation, Scale Bar, Zoom Level, and Map Copyright Text. Each element has a Properties window where you can adjust how the element will look and behave in your Web application. For example, you can choose an icon or image that will be used for the Navigation control.

    When you finish setting properties on each page, click Next.

  10. Review the information on the summary page. Take note of the URL so that you can access it later. You'll also be able to see this URL on the Applications tab of the Web Manager.
  11. Click Finish to create the Web application. If you want to change any of the settings you selected, you can now access the application from the page listing applications.
  12. Start the Web Mapping Application. The application should start automatically in a new browser window, or you can open it by clicking its URL on the Applications page of Manager.

To make more advanced edits to your application, you can use an IDE. The Developer Help contains many topics on how you can use the programming libraries included with the Web ADF to further customize your Web applications.