Feature Hyperlinks in results panel to internal folders
I am trying to get Chrome or IE to open a feature hyperlink result in a new window or tab, when the destination is a folder on the server.
IE : does nothing it just sits there
Chrome almost works in that it will open the location in the same tab.
If you try to open with Rt-click > “Open in new window/tab”, It will open the tab or window with “about:blank” instead of the value.
My feature link URI = file://{HYPERLINK} (file:///\\%7bHYPERLINK%7d)
If the {HYPERLINK} (file:///\\%7bHYPERLINK%7d) value is a .pdf it works fine. It opens a new window showing the .pdf
If {HYPERLINK} (file:///\\%7bHYPERLINK%7d) is a folder on internal server is does not.
0
-
In the feature Hyperlink panel at the bottom there is a text box for Target
Enter this in the text box
_blank
Now a new tab opens.
However; this is only working in Chrome and not IE.0 -
If you put a target, it should work ok:
<a href="http://imaps.srcity.org/img/APMaps/{APN_MAP}.pdf" target="docs">View AP Map</a>
As can be seen in this site for the parcel layer:
https://maps.srcity.org/Html5Viewer/Index.html?viewer=CityParcel0 -
Hi Rusty,
That's strange, I'm actually seeing the opposite on my side. My feature hyperlink loads as expected in IE, but not in Chrome.
My best guess on this, is that the sites are in different zones, where company policies are set to allow or deny file hyperlinks like that to work. By default, most browsers will block file hyperlinks, as a security measure.
The reason Mike's hyperlink works, is because he's linking to a web URL. For the most consistent results across all web browsers, I would suggest you host your PDFs on a web server, and link to their http(s) URLs.
I hope this helps!
Thanks,
Danny0 -
In my case I am linking to a folder location on an internal server that contains scanned plans. (improvement, Tract, Parcel, etc)
We were able to get it to work in IE by adding the URL for the GC web server to the Trusted sites.
Still don't like that I can just click in Chrome and it opens a new tab with the folder contents, but user has to Rt-click open a new window to get the same result in IE.
I also tried changing that browser property on click - always open in a new window/tab ; didn't work.
I agree these issues are more related to the browser permissions than the site configuration.
Thanks for the feedback.0 -
No problem Rusty.
One more suggestion that I saw in another thread that may help, is that you can create a new website in IIS, and set the directory to the folder with your PDF files. You would then change the hyperlink to open them from an HTTP link (Like Mike mentioned in one of the previous posts in this thread). You should have no trouble at all opening those files if they are being served up from a web server.
Cheers!
Danny0
Please sign in to leave a comment.
Comments
5 comments