Select to view content in your preferred language

Adding Hyperlinks to Table

1126
7
09-09-2013 07:01 AM
LucindaO_Quinn
Deactivated User
I would like to add a hyperlink to the attributes table directing the hyperlink to a scanned document on my server.  I have added a "Documents" field as a string and copied the path to the document--but won't hyperlink.  Thank you for any help.
Tags (2)
0 Kudos
7 Replies
MichaelVolz
Esteemed Contributor
Is this table being used in a web application, where you would be hyperlinking to the file after it has been added to the table?
0 Kudos
TimWitt
Deactivated User
I created a field and added this string S:\PLANS\AAPLANS\PLATS\PB 36\PB 36 65 TEST U-7.pdf

Then I went to the Display tab in the layer properties, checked "Support Hyperlinks using field:" pointed to the field I put in what is seen above and checked document.

Now when I use the little lightning bolt icon I can click on an address and it opens the pdf.

Is this how you did it?
0 Kudos
MichaelVolz
Esteemed Contributor
Tim:

Have you ever tried this with an ArcGIS Server feature service that can be edited through a web application such as a FlexViewer application?
0 Kudos
TimWitt
Deactivated User
Michael,

from what I have read you can't access local data (i.e. PDF's) through a web application due to security reasons. What you could do though is host the data on a server and then link to that.

Hope this helps.
0 Kudos
MichaelVolz
Esteemed Contributor
Tim:

What do you mean by local data?  Do you mean local to a client machine that is calling the web application through a URL?  Or do you mean local data to the server where ArcGIS Server is installed and running the web application?
0 Kudos
TimWitt
Deactivated User
Maybe this example will clear it up.

Lets say you have a flex webmap that you can access through the internet. In there you have a feature service that includes a field that houses "S:\PLANS\AAPLANS\PLATS\PB 36\PB 36 65 TEST U-7.pdf" . I don't think you are able to access this document through the internet due to security reasons.

But what you can do is upload this pdf to a webserver and adjust the link to say something like "http:\mywebserver\mydocument.pdf" .
0 Kudos
MichaelVolz
Esteemed Contributor
Thanks for the clarification Tim.  Hopefully when I implement your instructions it will work in the Flex App.  I believe I need to create a virtual directory to direct the web application to on that server.
0 Kudos