Select to view content in your preferred language

Hyperlink field in identify tool - help

2469
3
01-13-2011 09:19 AM
RandellMcGlynn
Emerging Contributor
Hi, I'm kind of new to arcgis viewer for flex, but I've started a project where I have service on a a GIS Server and one of the fields is a link to an image. An example of what a field would have is just the name of the file. so under field "photolink" the data would be "picture1.jpg".

What I would like to do is have it so that when the user clicks on a symbol, the photolink field is a link to "Networkdrive/project/pictures/picture1.jpg". Is this possible?

I've done some searching around on google and found some modified widgets that allow for hyper link fields, but I cannot figure out how to use them. I copy the xml and mxml file over to the folder with the original identify widget folder, but it does not seem to do anything.

Any help would be appreciated.
Thanks.
Tags (2)
0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus
0 Kudos
RandellMcGlynn
Emerging Contributor
Nice. This works really well. The only issue I am having is having it link to a picture on a network drive ex:

T:\Folder1\Folder2\image.jpg

Where the linkfield is "image"
The linkprefix is "T:\Folder1\Folder2\"
and the linksuffix is ".jpg"

I've got it to work well if I have the pictures right in the folder with the flex application and nothing for the prefix, but having it connect to a network drive is another story. I've tried switching the slashes around, that did not work though.

Anyone run into this issue?

Thanks.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Randell,


   You need to setup a virtual directory in iis if that is what you are using as your web server. The web server does not have permission to access the network drive.
0 Kudos