How to Hyperlink to a Local HTML

3888
2
Jump to solution
04-02-2015 10:47 AM
KevinHatch
New Contributor III

I am trying to link a pop-up in ARC GIS Online to a locally hosted HTML document.  I have tried both of the following:

file:///C:\Users\khatch\test.html

file://localhost/C:\Users\khatch\test.html

If I manually put either of the above in my browser the document opens.  However. when I add that as an image link in the pop up (either in the pop up media or in the customer attribute editor) nothing happens when I click on the pop-up.  When I right click and open in a new tab I get "about:blank" in the address bar and nothing appears.

I have tried this in both Chrome and in IE.  Any suggestions?

0 Kudos
1 Solution

Accepted Solutions
JakeSkinner
Esri Esteemed Contributor

Kevin,

Do you have IIS enabled on your machine?  If so, you can copy the HTML file to you C:\inetpub\wwwroot directory.  You can then reference the HTML document using the following:

http://<machine name>/test.html

View solution in original post

0 Kudos
2 Replies
JakeSkinner
Esri Esteemed Contributor

Kevin,

Do you have IIS enabled on your machine?  If so, you can copy the HTML file to you C:\inetpub\wwwroot directory.  You can then reference the HTML document using the following:

http://<machine name>/test.html

0 Kudos
KevinHatch
New Contributor III

They are stored on our file server. It looks like I will need to move them to a web server if I need to access them via an http link.  Thanks for the info. 

0 Kudos