How To: Assign multiple hyperlinks to a feature in the HTML Viewer

Summary

Instructions provided describe how to assign multiple hyperlinks to a feature based on the hyperlink values from different fields. This article also expands upon the functionality described in the "Customizing HTML Viewer" ArcIMS documentation that explains the procedures to assign a single hyperlink to a feature in the HTML Viewer. The list of hyperlinks are displayed in the TextFrame.

Procedure

This article requires editing ArcIMSParam.js and displayAttributeData.htm files in the Web site, typically in <Drive>/ArcIMS/Website/<Website_Name> folder and aimsIdentify.js file in ArcIMS/Website/<Website_Name>/Javascript folder.

ArcIMS 4.0.1 1. Create a hyperlink with a single hyperlink field, and verify it works properly. See "Creating hyperlinks" section, on page 26 of "Customizing HTML Viewer" for more descriptions. 2. Open ArcIMSParam.js file from the Web site directory (For example: C:/ArcIMS/Website/<Website_Name>) in a text editor and look for this line:

var hyperLinkLayers = new Array();

Define hyperlink related varibles as shown below.

Note:
The same hyperlink layer can be defined muliple times with different hyperlink fields.

ArcIMS 9.x 1. Create a hyperlink with a single hyperlink field, and verify it works properly. See "Creating hyperlinks" section, on page 26 of "Customizing HTML Viewer" for more descriptions. 2. Open ArcIMSParam.js file from the Web site directory (For example: C:/ArcIMS/Website/<Website_Name>) in a text editor and look for this line:

var hyperLinkLayers = new Array();

Define hyperlink related varibles as shown below.

Note:
The same hyperlink layer can be defined muliple times with different hyperlink fields.