In this article, I implemented an Organization chart as a component. The component shows an organization chart of the logged-in user as below:
In the above screenshot, I am showing the logged-in user his manager, and his team as a tree structure.
How does this component work?
How to get the direct reporters of the logged-in/selected user?:
Filter(
Office365Users.DirectReports(User().Email),
!IsEmpty(Office365Users.DirectReports(User().Email)
)
How to get the manager detailed of the logged-in/selected user?
Office365Users.SearchUser({searchTerm: Office365Users.ManagerV2(User().Email).mail})
See the below my youtube video for a complete explanation:
https://www.youtube.com/watch?v=HvtzCJhGs6A
I am including my Github link to download this component:
https://github.com/krishnaVSU2020/orgChartComponent
Regards
Krishna Vandanapu
Twitter | Linked-in | YouTube | Github
Thank you all MVPs and Super Users of this community for inspiring with your great work and contributions to the community.
@heather_italent @WarrenBelz @RezaDorrani @mdevaney @RandyHayes @eka24 @PowerAddict @Shanescows @GabrielH
Proud to be a Super User!
Regards,