Feature Hyperlink or similar needed
In our shape file we have a field that gives a path to a PDF file for PARCEL MAPS - A network drive path: x:\image\parcel\map01.pdf which is not the GIS Web Server, but everyone is connected to it including the web server.
I was trying to configure the FEATURE HYPERLINK in the Parcel map Layer so when "view additional details" on the layer is selected, it will allow them to click this field and open up the PDF file, but because it is not a URL (http://www......), I cant seem to make it work. Is there any other way to make this work without copying all the PDF's to the web server?
-
Answered my own question.
the URI should read: file:///{path}
0 -
Did this work? We could not get the UNC links to work.
I read in this post - (https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&feedtype=SINGLE_QUESTION_DETAIL&criteria=ALLQUESTIONS&id=9066000000007VPAAY) Feature Hyperlinks
that network shares (\\Server\Share) are not allowed, you need to use HTTP...
0 -
Brian Kootstra's solution worked for me...
I've used a field populated with addresses such as (file://\\server1\folder\image.jpg) \\server1\folder\image.jpg in the Feature Hyperlink tool by using the file:/// and the appropriate field token
e.g. file:///{LINK}.
0 -
I have been trying this an cannot seem to get it to work. Would someone send me a screen shot of their Feature Hyperlink tab so I can see what I am doing wrong? Or has something changed in 2 years?
Thanks,
carmen0 -
Hi Carmen,
What does your feature description look like? It should look something like file:///C:/folder/file
You can always try browsing the file with your browser to get the path as well that might help you when you are creating the link in the feature description.
Cheers
Jason0 -
Jason,
Here is the feature long description portion:
<div style="font-family: Arial, Verdana; font-size: 10pt; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal;"><img src="file:///{IMAGE1}"/></div>
Here is a sample of what is in the actual IMAGE1 field:
//myfileserver/Image_Video/Sanitary_Sewer/Basin_56/Image/MH 20200 VIEW.JPG
The image never appears in the feature long description. It is just a blank space.
Alternative....
On the "feature Hyperlink" panel, I have the following:
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90760000000PDkK&feoid=Body&refid=0EM60000000HTSg"_/_img_
In this scenario - the hyperlink displays, but when I click the hyperlink, nothing happens.
However, I CAN "right-click" on the hyperlink within Internet Explorer and choose "open in new tab or window", the image will display.
When I attempt the same in Chrome, I receive and "about:blank". If I "copy the link address" in Chrome and then paste into the url of a new tab, the image will display.
So, I believe the path is good. I have tried variations with the "/" and "\" with no luck.
Thanks,
Carmen0 -
so I've tried this as well - we have a hyperlink embedded in the Layer's long description as well.... and that works OK.
But I've been playing around with the feature hyperlink. UNC paths work in Internet Explorer. Not so much in Google Chrome.
So alternatively, I'm trying to create a folder within the hosting server, under the c:\inetpub\wwwroot folder to host a couple of PDF & TIFFs on a trial basis so that we can use the "http" URL instead....
Thoughts?0 -
Creating a virtual directory in IIS (ie. to //myserver/Image_Video) to would work in our case IF what was stored in the image field didn't contain the full UNC path. We do not want to shorten the path to /Sanitary_Sewer/Basin..... . Although we may have to resort to that.
It just seems like people have said they have had luck but I am not.
Thanks,
Carmen0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
8 Kommentare