Hello everyone,
I am having problems getting hyperlinks of documents created as a service in ArcServer to work in the Flex viewer. I'll try to give as much background as possible...
I use an attribute in the feature class (polygon shapefile) and hardcode the url in the attribute item that looks at a virtual folder on the server that contains the documents. Identifying the feature in ArcMap allows a hyperlink in the Identify window (lightning bolt) that opens an IE window. (Also, in the 'Map Document Properties' of ArcMap I hardcoded the path to the virtual directory in the 'Hyperlink Base:" field, and in the 'Layer Properties' hyperlink field I checked the 'Support Hyperlinks using field: and highlighted the url radio button.) All things I should do to support hyperlinks. All good...
I publish the map document to Server and then edit my service (web application) to link through the Layer Properties, Records tab, Custom Formatting, and create the hyperlink from the attribute field. Identify a feature and the link works in the pop-up window. All things I should do to support hyperlinks. All good...
I tried it on other machines other than mine and hyperlinks work fine. They all see the virtual directory and can link to the documents.
I restart IE and start my Flex application which contains my published map service. Identify the feature and attributes pop up in the Identify window...The attribute (PDF_Hyperlinks) shows the pathname to the documents just as in ArcMap and ArcServer Web application, but it's not highlighted and therefore does not have a 'live' hyper link to the document.
First of all...Is this function avaialble in Flex? Is there a widget that needs to be coded? I see where images are hyperlinked so I know it can be done. I was just wondering why my service can see it through the IIS but Flex doesn't use it.
I am very new to Flex and am not a developer so I could very well be missing something. Thanks in advance.