Org Chart Component

Function

a!orgChartField( label, labelPosition, instructions, value, saveInto, showAllAncestors, helpTooltip, accessibilityText, showWhen )

Displays the organizational structure of users within Appian based on the users’ Supervisor field values.

Parameters

Name Keyword Types Description

Label

label

Text

Text to display as the field label.

Label Position

labelPosition

Text

Determines where the label appears. Valid values:

  • "ABOVE" (default) Displays the label above the component.
  • "ADJACENT" Displays the label to the left of the component.
  • "COLLAPSED" Hides the label. The label will still be read by screen readers; see accessibility considerations for more information.
  • "JUSTIFIED" Aligns the label alongside the component starting at the edge of the page.

Instructions

instructions

Text

Supplemental text about this field.

Display Value

value

User

The user who is the focus of the org chart.

Save Input To

saveInto

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

showAllAncestors

Boolean

Determines if all ancestors above the user are displayed. Default is false, which displays only the user's supervisor.

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".

Accessibility Text

accessibilityText

Text

Additional text to be announced by screen readers. Used only for accessibility; produces no visible change.

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.

Usage considerations

Permissions and offline use

  • 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.

Structure

  • The org chart structure is based on users' Supervisor field values.
  • If users' profiles are not populated with supervisor or location information, you can request users to update their profiles in Tempo or use the Update User Profile Smart Service to update user profiles via process.

Displaying location and user cards

  • Hovering over a user's profile photo or name displays that user's user card, which displays additional information about the user and allows the viewing user to quickly follow or unfollow the user.
  • Users' locations (City, State, Country) are displayed on the org chart if values are present.

Examples

Copy and paste an example into the INTERFACE DEFINITION in EXPRESSION MODE to see it displayed.

1
2
3
4
5
6
7
a!localVariables(
  local!user: loggedInUser(),
  a!orgChartField(
    value: local!user,
    saveInto: local!user
  )
)

An org chart similar to the one pictured below displays. Note that your org chart may differ from the example:

An example of the org chart component

Open in Github Built: Tue, May 23, 2023 (06:12:33 PM)

On This Page

FEEDBACK