FunctionCopy link to clipboard
a!webContentField( label, labelPosition, instructions, helpTooltip, showWhen, source, showBorder, height, altText, disabled, accessibilityText, marginAbove, marginBelow )
Displays content inline from an external source.
Note: To protect users from how Safari handles memory, the Web Content component will display as an inline link when viewed in those browsers.
ParametersCopy link to clipboard
Name | Keyword | Types | Description |
---|---|---|---|
Label |
|
Text |
Text to display as the field label. |
Label Position |
|
Text |
Determines where the label appears. Valid values:
|
Instructions |
|
Text |
Supplemental text about this field. |
Help Tooltip |
|
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 |
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. |
Source |
|
Safe URI |
Location of the external content. |
Show Border |
|
Boolean |
Determines whether the field has an outer border. Default: false. |
Height |
|
Text |
Determines the layout height. Valid values: |
Alternative Text |
|
Text |
Equivalent alternate text provided to assistive technology. |
Disabled |
|
Boolean |
Determines if the user is prevented from interacting with the web content. Default: false. |
Accessibility Text |
|
Text |
Additional text to be announced by screen readers. Used only for accessibility; produces no visible change. |
Margin Above |
|
Text |
Determines how much space is added above the layout. Valid values: |
Margin Below |
|
Text |
Determines how much space is added below the layout. Valid values: |
Usage considerationsCopy link to clipboard
Embedding contentCopy link to clipboard
- Not all content can be embedded. The best way to know if your content can be embedded or not is to test it. If it can't be embedded, the component will be empty. Some sources explicitly prevent being embedded, such as https://www.google.com and https://www.yahoo.com/.
- Screen readers will typically announce the embedded page's title (found in the
<title>
attribute). When no title is provided, thealtText
value is used.
Supported contentCopy link to clipboard
- This component supports displaying external content only. Internal Appian interfaces and Appian URLs are not supported.
ExamplesCopy link to clipboard
To experiment with examples, copy and paste the expression into an interface object.
Web contentCopy link to clipboard
1
2
3
4
5
6
a!webContentField(
source: "https://example.com",
height: "MEDIUM",
showBorder: true,
altText: "Example Domain"
)
Copy
Feature compatibilityCopy link to clipboard
The table below lists this component's compatibility with various features in Appian.
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Incompatible | |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |