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, Read-Only Grid, Images
Name | Keyword | Types | Description |
---|---|---|---|
Label |
|
Text |
Text displayed as the link name the user clicks on. |
URI |
|
SafeURI |
URI target of the hyperlink. See SafeURI. |
Visibility |
|
Boolean |
Determines whether the component is displayed on the interface. When set to false, the component is hidden and is not evaluated. Default: true. |
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.1
2
3
4
a!safeLink(
label: "Company web site",
uri: "http://www.appian.com"
)
Returns a hyperlink to http://www.appian.com
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
a!richTextDisplayField(
value: if(
a!isNativeMobile(),
a!richTextItem(
text: (
"(555)-555-5555"
),
link: a!safeLink(
label: "(555)-555-5555",
uri: "tel: (555)-555-5555"
),
),
"(555)-555-5555"
)
)
Returns a telephone link which can be used on mobile devices via the Appian for Mobile Devices application. Use isNativeMobile() to only show this link in the Appian for Mobile Devices application.