Select to view content in your preferred language

How to get a hyperlink to open a PDF of an image from a file on my organization's server for users to view In AG ONLINE

111
6
yesterday
AnissaHiggins
Emerging Contributor

I need to hyperlink hundreds of files that are on my organizations server for the user to view an PDF image. 

All works in ArcGIS Pro. I imported .csv Table/spreadsheet with XY coordinates and paths to the files located on my organization's server. I then converted table to point. I can now right click on any point and the pop-up appears with a hyperlink that opens the pdf. Perfect!

However, and understandably, AGOnline does not understand where to retrieve the pdf from. 

 

 

0 Kudos
6 Replies
BobBooth1
Esri Contributor
0 Kudos
AnissaHiggins
Emerging Contributor

Yes, I have tried this, and it did not work. I'm sure it's because AGOnline is trying to open from my organizations, server not a website like in this that blog. 

0 Kudos
Laura
by MVP Regular Contributor
MVP Regular Contributor

You can create virtual directory in IIS that holds copies of everything from your local servers. AGOL can read from that IIS. 

https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/create-virtual-directory-fo...

I have hyperlinks that users can open and access in Pro but in order to use via AGOL and Portal I use the virtual directory hyperlinks. IIS is pretty straight forward, easy to use, and widely adopted. 

0 Kudos
AnissaHiggins
Emerging Contributor

Virtual Directory was a thought and might be the only solution. Just wanted to see if there were any other ways to consider before going that route. 

0 Kudos
ThomasHoman
Frequent Contributor

Since the hyperlinks work in Pro but fail when pushed to AGO, this feels more like a networking/permissions issue than a strictly GIS one..

Will your AGO users be internal, external, or mixed within the context of the organization firewall?

If users are opening their map from inside (external users with VPN) the organization and receiving failures, then you might have a permissions, web server, or DNS issue on the resource providing the documents. Coordination with your IT folks might help here. 

Make sure the link you are trying to set up follows the appropriate URI scheme.

If users are external only (without a vpn - with vpn they are internal) , you will probably need to set up a web server with internet visibility that https://... inquiries would go to. The web server would need to be appropriately secured. The other option would to be attaching the documents themselves into the data and taking the storage credit hit in AGO.

Regards,

Tom

0 Kudos
AnissaHiggins
Emerging Contributor

Defiantly could be a permission issue. I'm going to set up a chat with IT to see what they say. I need to consider a storage credit hit, but I'm hoping that uploading hundreds now and will touch thousands (Files with single Pdfs) eventually will not be the solution to this issue. 

0 Kudos