Select to view content in your preferred language

How to make an hyperlink for a field that has a path to a file in a webmap

479
2
Jump to solution
10-30-2024 10:00 AM
SanchezNuñez
Frequent Contributor

Good afternoon,

 

a field from layer stores the apth and file name

MyFile = \\server\folder\finename.tiff

how can I show this file in a web map popup window and make it clickable (hyperlink).

Can it be done with Arccade?

Thanks

 

0 Kudos
1 Solution

Accepted Solutions
jcarlson
MVP Esteemed Contributor

You cannot write a valid local link using a web map, you need to serve the files out using a web server as @Laura  has mentioned. Any URL that doesn't start with a valid prefix will be scrubbed out by the web map itself.

http, https, tel, and mailto all work. Most everything else will get removed.

- Josh Carlson
Kendall County GIS

View solution in original post

0 Kudos
2 Replies
Laura
by MVP Regular Contributor
MVP Regular Contributor

For mine I use the text option as a pop up.  From there I insert the link and path. 

https://your server site (path/attribute column)

this is all accessed through IIS and all of the files are accessible to the GIS server that it reads from. 

https://community.esri.com/t5/arcgis-online-questions/arcgis-online-virtual-directory-access/td-p/33...

 

0 Kudos
jcarlson
MVP Esteemed Contributor

You cannot write a valid local link using a web map, you need to serve the files out using a web server as @Laura  has mentioned. Any URL that doesn't start with a valid prefix will be scrubbed out by the web map itself.

http, https, tel, and mailto all work. Most everything else will get removed.

- Josh Carlson
Kendall County GIS
0 Kudos