Add geoprocessing tasks
The ArcGIS Viewer for Silverlight provides you with the ability to interactively create tools that will execute geoprocessing tasks. If you are unfamiliar with geoprocessing, see the What is geoprocessing? topic. When you execute a task in a geoprocessing service, it executes on the server rather than using resources of the client machine where the Viewer is being used. For more information, see An overview of geoprocessing with ArcGIS Server.
To add and configure a geoprocessing tool, open the Application Builder and create a new application or open an existing one.
- Click the Add GP button as shown in the following screen shot:
- The Add Geoprocessing dialog box appears. Specify the tool's label, tooltip, and icon.
You can also specify the toolbar where the tool will reside. Then click Next. See the following screen shot:
- Check the Use Proxy checkbox if desired. If using a proxy, specify the Proxy URL on the Application Settings tab (see Application Builder settings).
- Select an ArcGIS Server connection from the drop-down menu or type a URL to an ArcGIS Server in the box. If you typed a URL, click the Search button (magnifier icon).
- The geoprocessing tasks available on that server are listed. Select the desired task and click Next.
- The wizard pages that follow allow you to configure the selected geoprocessing task for use in your application. Click Next to navigate through the wizard and enter the input parameters, output parameters, dialog title, and layer order. Click OK, then click OK again when finished. See the following series of screen shots:
- The geoprocessing tool is automatically added to the specified toolbar in the Viewer.
1/26/2015