Function: a!webContentField()
Displays content from an external source.
To protect users from how Safari and Internet Explorer 11 handle memory, the Web Content component will display as an inline link when viewed in those browsers.
Parameters
Name | Keyword | Type | Description |
---|---|---|---|
Label | label | Text | Optional text to display as the field label. |
Label Position | labelPosition | Text | Optional text to determine where the label appears. Valid values include
|
Instructions | instructions | Text | Optional text displayed below the label . |
Help Tooltip | helpTooltip | Text | Displays a help icon with the specified text as a tooltip. The tooltip displays a maximum of 500 characters. The help icon does not show when the label position is "COLLAPSED" . |
Source | source | SafeURI | Location of the external content. |
Show Border | showBorder | Boolean | Determines whether the field has an outer border. Default: true. |
Height | height | Text | Determines the field height. Valid values include "SHORT" , "MEDIUM" (default), and "TALL" . |
Alternative Text | altText | Text | Equivalent alternate text provided to assistive technology. |
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: false. |
Notes
altText
is used for the link label.<title>
attribute). When no title is provided, the altText
value is used.Examples
1
2
3
4
5
6
=a!webContentField(
source: "https://www.appian.com/",
height: "MEDIUM",
showBorder: true,
altText: "Appian Corporation"
)
On This Page