I am trying to set up a linkfield in the identify widget that opens up a .pdf document in a local network (vs. setting up a linkfield to a URL).
My first attempt was simply setting the linkfield to the attribute table field that included the entire path name to the pdf document:
<layers onlythese="true">
<layer>
<name>GWMP_Boundaries</name>
<fields>Agency_Name, GWMP_Name, GWMP_Date, Plan_Type, GWMP_Hyperlink</fields>
<linkfield>GWMP_Hyperlink</linkfield>
<linkprefix></linkprefix>
<linksuffix></linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix></iconsuffix>
<zoomscale>24000</zoomscale>
<forcescale>true</forcescale>
</layer>
</layers>
It seemed to work at first glance as the identify widget in ArcGIS Viewer for Flex (2.2) did display the full hyperlink path name when you clicked on a polygon; however, when I actually clicked on the link nothing happened. The hyperlink works fine in ArcMap but it doesn't seem to want to work in Viewer.
My second attempt was to break up the linkfield with a linkprefix and linksuffix:
<layers onlythese="true">
<layer>
<name>GWMP_Boundaries</name>
<fields>Agency_Name, GWMP_Name, GWMP_Date, Plan_Type, GWMP_File_Name</fields>
<linkfield>GWMP_File_Name</linkfield>
<linkprefix>\\Pcdistfs1\CDGIS\PROJECTS\GeologyGroundwaterInvestigations\GGI_CWP_Task1\TEMP\GWMPs\</linkprefix>
<linksuffix>.pdf</linksuffix>
<iconfield></iconfield>
<iconprefix></iconprefix>
<iconsuffix></iconsuffix>
<zoomscale>24000</zoomscale>
<forcescale>true</forcescale>
</layer>
</layers>
although I don't see how this would really change anything since ultimately the path name will be identical to GWMP_Hyperlink.
Any suggestions for how I can set up a hyperlink with the IdentifyWidget that links to a pdf document in a local network?
-Mike