HOW TO
In ArcGIS Dashboards, the table element can be configured to display a layer’s attribute. However, unlike in a Map Viewer pop-up, when a string field containing URLs is added to the table element in a dashboard, the URLs are displayed as texts instead of hyperlinks.
This article demonstrates the workflow to display the URLs as hyperlinks in the table element using a custom Arcade expression. In this example, the URLs are stored under the URLRef field in the hosted feature layer.
`<a href="${$datapoint["<field name>"]}" target="blank"><Text></a>`
This is the full displayText Arcade expression used in this example.
displayText: `<a href="${$datapoint["URLRef"]}" target="blank">Link to Wikipedia</a>`,
The URLs are displayed as hyperlinks in the table element.
Article ID: 000028030
Get help from ArcGIS experts
Download the Esri Support App