I have a requirement for an organizational chart. I have an employee-specific table in the database containing the reporting manager column and role.I tried the code but it doesn't expand to down-level resources. I require a dynamic chart to add employees and roles.
a!localVariables(local!user: loggedInUser(), a!orgChartField( value: local!user, saveInto: local!user, showAllAncestors: true, showTotalCounts:true ))
Discussion posts and replies are publicly visible
The orgChartField, as per the documentation, does not work with your table, but with the supervisor attribute of user accounts.
But you can just use the tree browser component: docs.appian.com/.../Tree_Browser_Component.html
For your account, the supervisor is not configured in the user profile. It's configured like below
It's a user picker field. Once you have added the picker field then it will show in the Org chart. I have added myself as a supervisor for two users and now it's showing in org chart
Hi,
We had this requirement way back, for the Non-Appian user details (Employee directory structure maintained in a table) used https://community.appian.com/b/appmarket/posts/organization-chart-component.
Hope it may help you.