HOW TO

Add PDF files as hyperlinks in ArcGIS Online Map Viewer pop-ups

Last Published: August 19, 2022

Summary

In ArcGIS Online, PDF files are linked in pop-ups to provide further information on the feature. However, instead of manually adding the PDF file as hyperlinks to each feature, an Arcade expression is used to automate this task by adding a unique value to the link parameter. This article provides two ways to add PDF files as a hyperlink to point features by using an Arcade expression in ArcGIS Online Map Viewer.

Procedure

  1. Log in to ArcGIS Online and click Content > My Content.
  2. Browse to the hosted feature layer, click More Options The More Options icon. and select Open in Map Viewer.
  3. On the Contents (dark) toolbar to the left of the page, click Layers The Layers icon..
  4. In the Layers pane, click the layer.
  5. On the Settings (light) toolbar to the right of the page, click Pop-ups The Pop-ups icon..
  6. In the Pop-ups pane, under Options, click Attribute expressions.
The Attribute expressions option under Options in the Pop-ups pane.
  1. In the Attribute expressions pane, click Add expression.
  2. In the editor window, click Edit to change the name of the field.
  3. In the Expression box, use the following expression below and click Test.
‘URL’ + ‘/’ + ‘$feature.<field>’ + ‘.pdf’
The Arcade expression is configured in the Expression box.
  1. When the Results tab displays the concatenated PDF link, click OK.
The concatenated link on the Results tab.
  1. Click the Previous The Previous icon. button.
  2. In the Pop-ups pane, click Fields list and click Select fields.
The Select Fields option under Fields list.
  1. In the Selects fields pane, under Expressions, check the expression field and click Done.
The expression field under Expressions in the 'Select fields' pane.

The image below shows the PDF file added to the pop-up as a hyperlink in ArcGIS Online Map Viewer.

The PDF file as a hyperlink in the pop-up.

Article ID: 000028043

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