HowTo:  Configure hyperlinks for use in ArcGIS Explorer for Desktop

相关信息
Article ID: 40989
Software:
ArcGIS - ArcEditor 10
ArcGIS - ArcInfo 10
ArcGIS - ArcView 10
ArcGIS Explorer 1750
ArcGIS for Desktop Advanced 10.1
ArcGIS for Desktop Standard 10.1
ArcGIS for Desktop Basic 10.1
Platforms:
Windows XP, Vista, Server 2008, Windows 7, Windows 8, Server 2012

问题描述
Instructions provided describe how to format hyperlinks in ArcMap to be displayed as active links in ArcGIS Explorer for Desktop.
已邀请:

EsriSupport

赞同来自:

解决方案
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'.
  3. Select 'As a formatted page based on an XSL template'.
  4. Click the Load button and select 'Load default template'.
    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"/> 
  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.


其它相关参考
  1. Using Hyperlinks
  2. Saving layers and layer packages


创建及修改时间
Created: 3/18/2013

Last Modified: 3/26/2013
原文链接
http://support.esri.com/en/kno ... 40989

GADFLY

赞同来自:

这个不错,可以用在好多地方。

要回复问题请先登录注册