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