I have a data layer that includes a field with a hyperlink for each feature. When I pull that data into the silverlight viewer, is there anyway to preserve the hyperlink? When it shows the popup it includes the path as text, but is there anyway to preserve it's function as a hyperlink, so that the user can click it and pull up the document? I know that an attachment can be added if attachments are enabled, but there are thousands and thousands of features, so individually re-attaching these documents isn't really an option.
If anyone else has this problem, I've been able to get it to work with a local file.
Once you've created your application, open the Map.xml in Visual Studio. (Located under inetpub/wwwroot/Apps/YourApplication/Config) Do a search for the field you're trying to enable. (If you have the same field name in multiple layers, make sure you're looking at the correct layer.) It will look something like this:
Hyperlinks in a pop-up work for me, but only if the text string starts with "http://".
A link just starting www.someaddress.org doesn't work. Neither have I managed to successfully hyperlink to local files with "\\UNC\folder\file.ext" Don't forget that if you open the attribute table, you will only see the link as a plain text.
If anyone else has this problem, I've been able to get it to work with a local file.
Once you've created your application, open the Map.xml in Visual Studio. (Located under inetpub/wwwroot/Apps/YourApplication/Config) Do a search for the field you're trying to enable. (If you have the same field name in multiple layers, make sure you're looking at the correct layer.) It will look something like this:
How can i replace my UNC path with the words "Click Here To View Image"? The UNC path is quite long and users don't need to see it. Basically I want to hide the path to simplify the contents of the field.