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