How To: Integrate the Data Delivery functionality with ArcIMS Web sites based on the HTML Viewer
Instructions provided describe how to customize an existing ArcIMS Web site based on the HTML Viewer to include the Data Delivery Extension functionality.
To use the Data Deliver Extension (DDE), there is several steps involved:
Installing the DDE software.
Configuring DDE with your Web Server.
Integrating DDE with your ArcIMS sites.
This article includes instructions for Step C. Integrating DDE with ArcIMS sites only. ArcIMS 9.0 and DDE need to be ready to use and configured before continuing. See the Related Information section for articles regarding Steps A and B.
Configure DDE for the data source. See the DDE Reference Guide, Chapter 5 for the according steps necessary.
Configure the Web site to allow the translation of the according data.
Using a text editor such as WordPad, open the file <$DDE_HOME>\translationControl\system\Config.csv and verify that the Word Wrap option is disabled.
Define the layers that should be available to the end user. An important aspect is to know how the layer name, as displayed in your ArcIMS site's legend, corresponds to the equivalent layer name as saved in the Config.csv file.
Open C:\ArcIMS\Website\<mysite>\FME\fmeDownload.htm in another text editor.
Find the layerThemes array section and edit it according to this example:
Assume that the legend of the HTML Viewer has two layers shown as 'Cities' and 'Streets'. These layer names reference the cities.shp and streets.shp file, respectively.
In the Config.csv file, look for the corresponding DDE theme name to these layers. For example, 'CITIES^SHAPE_DATA' and 'STREETS^SHAPE_DATA'.
In the fmeDownload.htm file, create an entry that references the same layer. For example:
Create entries for each layer that should be available for the end user to download.
Edit the Download Format Selection Box near the end of the file to customize the translation formats available to the end user. For the purpose of testing the GIF image output is the default selection. Edit this section according to the provided example code.
Edit the Coordinate System Selection Box to define the available coordinate systems. Add or remove tags as necessary. A list of supported coordinate systems is available at <DDE>\fme\coordsys.db
Edit the Layer Selection Box to define the number of layers to be displayed on the download page.