Web Link

Function: a!safeLink()

Defines a link to an external web page. Links can be used in charts, grids, hierarchy browsers, images, link fields, milestones, pickers, and rich text.

See also: Link, Paging Grid, Images

Parameters

Name Keyword Type Description
Label label Text Text displayed as the link name the user clicks on.
URI uri SafeURI URI target of the hyperlink. See SafeURI
Visibility showWhen Boolean Determines whether the component is displayed on the interface. When set to false, the component is hidden and is not evaluated. Default: true.

Notes

  • To display a single link or array of links, use inside the Link Field component. To display a link in a grid, use inside a GridTextColumn. To add a link to an image, use inside a document or web image. To add a link to a chart series, use inside the a!chartSeries() function.
  • A link created by a!safeLink() opens in a new browser window. Note that a user's browser may still be configured so that all new windows are instead opened as new tabs.
  • It's recommended that the URI use a specific protocol. When no protocol is specified, the component will generate a hyperlink using the system's protocol and domain.

Examples

To an external website

1
2
3
4
=a!safeLink(
  label: "Company web site",
  uri: "http://www.appian.com"
)

Returns a hyperlink to http://www.appian.com

FEEDBACK