Free cookie consent management tool by TermsFeed Org Chart Component (a!orgChartField)
Org Chart Component

Function

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.

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.

Show Total Counts

showTotalCounts

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 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 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 cards

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

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

Feature compatibility

The table below lists this SAIL component's compatibility with various features in Appian.
Feature Compatibility Note
Portals Incompatible
Offline Mobile Incompatible
Custom Record Field Expressions Incompatible
Process Reports Incompatible

You cannot use this function to configure a process report.

Process Events Incompatible

You cannot use this function to configure a process event node, such as a start event or timer event.

Open in Github Built: Fri, Apr 19, 2024 (06:08:06 PM)

Org Chart Component

FEEDBACK