Select to view content in your preferred language

How do I create a hyperlink in a popup to a file using a relative path?

1668
3
01-06-2021 06:48 PM
Labels (1)
JesseTemplin2
Regular Contributor

Hello,

I would like to create a hyperlink in a popup to a file using a relative path. I have tried the following:

subfolder/image.tif
./subfolder/image.tif
file://subfolder/image.tif
file://./subfolder/image.tif
file:///subfolder/image.tif
file:///./subfolder/image.tif
file:////subfolder/image.tif
file:////./subfolder/image.tif
C:/absolute-path-to-project-folder/subfolder/image.tif

The subfolder is in the same directory as the aprx project file.

The only one that woks is the last one. The hyperlink tool in Configure Pop-ups prepends "file:///" to the path and the image opens in the native OS image viewer. How do I get that behavior with a relative path?

We are using the basic license, so adding the image as an attachment is not an option.

Thanks

Tags (1)
0 Kudos
3 Replies
Robert_LeClair
Esri Esteemed Contributor

Jesse - there is an enhancement request - ENH-000123004 - Allow the functionality to open files with relative paths as hyperlinks in Pop-Ups in ArcGIS Pro.  I'd recommend adding this to ArcGIS Ideas (ArcGIS Pro) so it's gets visibility to the ArcGIS Pro Dev Team.

JesseTemplin2
Regular Contributor

Thanks for the info and suggestion. I've created an ArcGIS Idea here:

https://community.esri.com/t5/arcgis-pro-ideas/allow-pop-up-hyperlinks-to-open-files-using-relative-...

A follow-up question if you don't mind... Is there an efficient way to search for known limitations like this? I tried searching ENH-000123004 but didn't find anything related.

Robert_LeClair
Esri Esteemed Contributor

The ENH requests are a way to track what customers are requesting in new versions of the software and are assigned in Esri Support Services.  I have a way of searching those requests to determine name and status.  Looks like this ENH number is not available outside of the Esri domain.

0 Kudos