操作方法

操作方法:将多个超链接添加到 ArcGIS Pro 的要素中

Last Published: July 20, 2023

摘要

In ArcGIS Pro, it is possible to add a hyperlink path to a field. This is helpful to provide additional information about a feature layer when performing detailed data analysis. This article describes the methods to add multiple hyperlinks to a feature in ArcGIS Pro.

过程

Add the hyperlinks to multiple fields in the attribute table

Add new fields to the attribute table according to the number of hyperlinks required for the feature, and add each hyperlink to each of the new fields.

  1. Open the ArcGIS Pro project.
  2. Add new fields to the attribute table of the feature layer.
    1. Open the attribute table of the feature layer.
    2. In the attribute table, click Add Field The image shows the Add Field icon.. The Fields view opens.
    3. In the Fields view, specify a name for the hyperlinks field in the Field Name column. In this example, the new field is Related_Link1.
    4. Double-click the Alias column of the new field, and specify an alias for it. In this example, the alias is Related_Link1.
    5. Double-click the Data Type column of the new field, and select Text from the drop-down menu.
    6. Click Click here to add a new field. to add fields according to the number of hyperlinks, and specify Data Type as Text. In this example, the Field Name and Alias of the added fields are Related_Link2 and Related_Link3.
    7. On the top ribbon, on the Fields tab, click Save The image shows the Save icon..
The image shows the created new fields in the Fields view.
  1. Insert the link and hyperlink name in the following HTML tag example for each hyperlink.
<a href="link" target="_top">hyperlink_name</a>
  1. Copy the HTML tags with the inserted link, and hyperlink name, and paste them to the new fields of the attribute table, as shown in the next image. In this example, the HTML tags and links are copied and pasted to the Related_Link1, Related_Link2, and Related_Link3 fields of the Kolob Arch feature.
The image shows the added hyperlinks to the attribute table.
  1. Save the edits.
    1. On the top ribbon, click the Edit tab.
    2. On the Edit tab, click Save The image shows the Save icon..
    3. In the Save Edits window, click Yes.

The following image shows the added hyperlinks in the feature pop-up.

The image shows the added hyperlinks in the feature pop-up.

Add the hyperlinks to a new field in the attribute table

Add a new field to the attribute table, and add the hyperlinks to the new field.

Note:
The number of hyperlinks added to the new field is limited by the maximum limit of 255 characters for a text field.
  1. Open the ArcGIS Pro project.
  2. Add a new field to the attribute table of the feature layer. Refer to Step 2 in the previous method for instructions to do so. In this example, the new field is named Related_Links.
The image shows the created new field.
  1. Insert the link and hyperlink name in the following HTML tags for each hyperlink. In this example, there are two hyperlinks added to the feature.
<a href="link" target="_top">hyperlinkname</a> ; <a href="link" target="_top">hyperlinkname</a>
Note:
Each hyperlink tag is separated by a semicolon.
  1. Copy the HTML tags with the inserted link, and hyperlink name, and paste them in the attribute table. In this example, the HTML tags and links are copied and pasted to the Related_Links field of the Kolob Arch feature.
The image shows the added hyperlinks to the attribute table.
  1. Save the edits. Refer to Step 5 from the previous method for instructions to do so.

The following image shows the added hyperlinks in the feature pop-up.

The image shows the added hyperlinks in the feature pop-up.

文章 ID: 000025011

接收通知并查找新问题或常见问题的解决方案

从我们全新的 AI 聊天机器人中获得简明答案和视频解决方案。

下载 Esri 支持应用程序

相关信息

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项