Select to view content in your preferred language

Attribute Table and Hyperlink

3204
4
07-04-2012 09:30 PM
JoseSousa
Esri Contributor
Hi,

What is the best way for supporting Hyperlinks in the Attribute Table of the ArcGIS Buider for Silverilght?

From Esri statement I imagine this won't be simple:

Note:
Hyperlinks are available in pop-ups if the URL exists as a field value in a feature layer. You cannot add hyperlinks to fields in the ArcGIS Viewer for Silverlight. While the field is shown as a hyperlink in pop-ups, it is shown as a text string in the attribute table.

Cheers,
Jose
0 Kudos
4 Replies
ScottBailey
Deactivated User
It just has to be string field and start with the protocol, http:\\mylink.html
0 Kudos
MarkMenzel
Emerging Contributor
Did you ever work this out?

Also is there a way to hide the url in the hyperlink and show an image or text instead? much like the identify widget links in Flex viewer

http://gis.calhouncounty.org/FlexViewer3.1/index.html?config=config-identify.xml
0 Kudos
ScottBailey
Deactivated User
I have been trying to implement a hyperlink in the attribute table using something like in this link.
http://forums.arcgis.com/threads/8797-Hyperlinking-possibilities?highlight=DataGrid. But with no success. Can someone at ESRI please help. This seems to be functionality that everyone wants or, in my case, needs. From what I have read, it has been done outside the SL builder/viewer. I have tried adding custom functionality to the FeatureDataGrid itself, as well as, creating a custom template with a different datagrid. Any insite would be greatly appreciated. Thanks.
0 Kudos
PietaSwanepoel2
Frequent Contributor
Scott, I have given up on this one. For know the popup must do
I know just to little Silverlight to try and attempt this

I would recon you might need a custom implementation of the esri feature datagrid. Overriding the behavior of when a cell in grid is populated. So instead of displaying just the value, replace it with a hyperlink with defined values
The template for the display and editing will differ: hyperlink vs textbox

The application builder must then use a new/changed template that implemented this feature datagrid

All this assumes that the the esri feature datagrid is overridable
0 Kudos