English

How To: Configure hyperlinks for use in ArcGIS Explorer for Desktop

Summary

Instructions provided describe how to format hyperlinks in ArcMap to be displayed as active links in ArcGIS Explorer for Desktop.

Procedure

Using the options on the HTML Popup tab in the Layer Properties dialog box can create active links for hyperlinked documents using relative paths or fully qualified path settings.

  1. In ArcMap, right-click the layer and click Properties. Click the HTML Popup tab.
  2. Select the check box to 'Show content for this layer using the HTML Popup tool'.
    [O-Image] Show content
  3. Select 'As a formatted page based on an XSL template'.
    [O-Image]
  4. Click the Load button and select 'Load default template'.

    Note:
    The default template includes code to create a link from information saved as website paths as well as relative paths with the \\ (UNC) format. If it is necessary to include a full path, such as to C:\, an additional code section must be added.

  5. Edit the XSL document to include a C:\ path hyperlink by adding the following code to the XSL template:

    </xsl:when> 
    <xsl:when test="FieldValue[starts-with(., 'C:\')]">
    <a target="_blank">
    <xsl:attribute name="href">
    <xsl:value-of select="FieldValue"/>
    </xsl:attribute>
    <xsl:value-of select="FieldValue"/>


    [O-Image] Add Full Path
  6. Create a layer package and add it to ArcGIS Explorer for Desktop.
  7. Click a feature in ArcGIS Explorer for Desktop and the popup menu shows a clickable link to the hyperlinked document.
    [O-Image] Active Hyperlink

Related Information