Resumen
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.
Procedimiento
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.
- Open the ArcGIS Pro project.
- Add new fields to the attribute table of the feature layer.
- Open the attribute table of the feature layer.
- In the attribute table, click Add Field . The Fields view opens.
- 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.
- Double-click the Alias column of the new field, and specify an alias for it. In this example, the alias is Related_Link1.
- Double-click the Data Type column of the new field, and select Text from the drop-down menu.
- 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.
- On the top ribbon, on the Fields tab, click Save .
- Insert the link and hyperlink name in the following HTML tag example for each hyperlink.
<a href="link" target="_top">hyperlink_name</a>
- 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.
- Save the edits.
- On the top ribbon, click the Edit tab.
- On the Edit tab, click Save .
- In the Save Edits window, click Yes.
The following 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.
- Open the ArcGIS Pro project.
- 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.
- 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.
- 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.
- 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.