Linking Images Stored on a Seperate Server

370
4
Jump to solution
06-12-2013 04:25 AM
KevinLaughlin
New Contributor III
Greetings!

I will preface this by stating that I've only been using the ArcGIS Viewer for Flex for the past few weeks, so bear with me on this.

I have a fairly standard application with a few of the canned widgets up an running on our local network, nothing special.  For the past several days I've been investigating/attempting ways to link scanned documents (That are saved as .TIFF images) to a point feature class I have (In my mind, something similar to hyperlinking in ArcMap) but to no avail.  I've tried doing so through the "Configure Pop-ups" in the Maps tab, as well at trying to get creative with the Identify Widget that's available through ArcGIS Resources.  I can't really get either of them to work. 

My first question is this: is it possible to (not really knowing the proper term) "Hyperlink" documents from a separate server.  The documents reside at location such as this: P:/Engineer GIS/Projects/Section Corner... (The path is much longer, but you should be able to get the picture) while my Flex Application resides on a separate server: E:/Survey2.  The linkes are saved via a field called "Hyperlink" in the point attribute table.  If I do so through the Pop-up Configuration, I just get an empty box where the image should be and if I do so through the Identify Widget, I get a link that doesn't go anywhere.  Also, I am using FlexViewer 3.2 with ArcGIS Server 10.1.

So, I guess my question is: can the Flex Application link to documents on different server? Or, would I have to place them within the E:/Survey2 folder and have to rework the link field?

If further clarification is needed I can provide it, at this point I'm not sure what it would be, so I haven't uploaded any screenshots or provided any code.  Any guidance regarding this is greatly appreciated!








Kevin Laughlin
GIS Specialist
Wood County Engineers Office
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AnthonyGiles
Frequent Contributor
Kevin,

You cannot hyperlink to images/documents using a local path name (I.e. e:/......) it must be done through a URL. What you would need to do is set up a virtual directory in IIS that points to the location of we're the files are sat. That way you will be able to access the file by a correct URL. It is this URL that would need to go into your link field,

Hope this makes sense

Regards

Anthony

View solution in original post

0 Kudos
4 Replies
AnthonyGiles
Frequent Contributor
Kevin,

You cannot hyperlink to images/documents using a local path name (I.e. e:/......) it must be done through a URL. What you would need to do is set up a virtual directory in IIS that points to the location of we're the files are sat. That way you will be able to access the file by a correct URL. It is this URL that would need to go into your link field,

Hope this makes sense

Regards

Anthony
0 Kudos
KevinLaughlin
New Contributor III
That was kind of the direction that I was heading, I just needed the answer.  Thanks Anthony!
0 Kudos
SteveGoates1
New Contributor II
How about a UNC path instead of a URL?  (i.e. \\192.168.1.8\apn\etc)

Works on other web based applications that i have (asset management system), but not in flex viewers.

The link URL comes out as ttp://servername/flexviewers/Appname/\\192.168.1.8\apn\etc  so that obviously doesn't work.

Is there a way to not use the flex viewer's virtual directory and just use the UNC, the link opening locally?

Thanks
0 Kudos
OlegLukyanov
New Contributor III
BTW

What is the best method to create hyperink to image\document?
I think it is better to write path to field with drag and drop document in ArcMap and Viewer for Flex but I have not seen such add-ins.

Thanks

Oleg
0 Kudos