HOW TO

Add multiple hyperlink paths to an attribute field in a hosted feature layer

Last Published: May 24, 2023

Summary

ArcGIS Online allows multiple hyperlink paths to be added to an attribute field. This option adds multiple hyperlinks to a hosted feature layer for an individual feature; allowing access to related documents, images, and web pages. The workflow provided describes how to add multiple hyperlink paths to an attribute field in a hosted feature layer.

Procedure

  1. Log in to ArcGIS Online and click Content > My Content.
  2. Browse the hosted feature layer, click the More Options The More Options button button and select View item details.
  3. On the item details page, click the Data tab.
  4. Click the Options The Options button button and select Add Field.
  5. Configure the Add Field properties to add a new string field.
    1. Type the preferred name for Field Name and Display Name.
    2. Select String from the Type drop-down list.
    3. Click Add New Field. A new string field is added to the hosted feature layer.
The Add Field dialog box
Note:
The default length of a string field is 256 characters. However, it can be edited to a preferred number, allowing multiple hyperlinks to be attached.
  1. Copy the following string and paste it in the hyperlinks field of the preferred feature. Replace <link> with the hyperlink path, and <name of link> with the hyperlink name.
<a href="<link>" target="_blank"><name of link 1></a><br><a href="<link>" target="_blank"><name of link 2></a>
Note:
The HTML <br> tag produces a line break in each link.

The image below shows the multiple hyperlinks added to the attribute field of the hosted feature layer.

Multiple hyperlinks added to the attribute field

Article ID: 000030340

Software:
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options