FunctionCopy link to clipboard
a!orgChartField( label, labelPosition, instructions, value, saveInto, showAllAncestors, helpTooltip, accessibilityText, showWhen, showTotalCounts )
Displays the organizational structure of users within Appian based on the users’ Supervisor field values.
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. |
Display Value |
|
User |
The user who is the focus of the org chart. |
Save Input To |
|
List of Save |
One or more variables that are updated with the user value. Use a!save() to save a modified or alternative value to a variable. |
Show All Ancestors |
|
Boolean |
Determines if all ancestors above the user are displayed. Default is false, which displays only the user's supervisor. |
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 |
Accessibility Text |
|
Text |
Additional text to be announced by screen readers. Used only for accessibility; produces no visible change. |
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. |
Show Total Counts |
|
Boolean |
Determines who is included in the report count. When set to true, the count includes both direct and indirect reports. When set to false, the count only includes direct reports. Default: false. |
Usage considerationsCopy link to clipboard
Permissions and offline useCopy link to clipboard
- In the org chart, the user can only see active users that they have permission to view. If the current user does not have permission to view the selected user in the value parameter or the selected user is deactivated, an error will occur.
- Avoid using this component for offline mobile forms since tapping on a user will not update the focus of the org chart to the user.
StructureCopy link to clipboard
- The org chart structure is based on users' Supervisor field values.
- If supervisor or location information is not populated in user profiles, you can request users to update their own profiles in Tempo or use the Update User Profile Smart Service to update user profiles via process.
Displaying location and user cardsCopy link to clipboard
- Hovering over a user's profile photo or name displays the corresponding user card, which includes additional information about the user and allows the viewer to quickly follow or unfollow the user.
- Location (city, state, country) is displayed on the org chart if the user has a value set in their profile.
ExamplesCopy link to clipboard
To experiment with examples, copy and paste the expression into an interface object.
1
2
3
4
5
6
7
a!localVariables(
local!user: loggedInUser(),
a!orgChartField(
value: local!user,
saveInto: local!user
)
)
Copy
An org chart similar to the one pictured below displays. Note that your org chart may differ from the example:
Feature compatibilityCopy link to clipboard
The table below lists this component's compatibility with various features in Appian.
Feature | Compatibility | Note |
---|---|---|
Portals | Incompatible | |
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. |