how to create Org chart with Sharepoint people picker column

Ashok Kumar 1 Reputation point
2021-11-18T03:45:36.06+00:00

150436-orgchart.txtI am using List schema as TeamMember(PeoplePicker),FunctionalManager(PeoplePicker),Department(SingleLinetext) and using below thread to create org chart in SharePoint

But it only create first node where for top manager not the rest and also how to get image of TeamMember as well on different nodes x

not able to post my coder here as getting access denied but following below article but my list structure is having people picker

https://social.msdn.microsoft.com/Forums/en-US/914b4910-9fc4-4243-acc9-1202fc6d2410/how-to-create-jquery-org-chart-using-sharepoint-list-data?forum=sharepointdevelopment

Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,496 Reputation points Microsoft External Staff
    2021-12-03T09:25:53.193+00:00

    Hi @Ashok Kumar ,
    I will recommend spfx to achieve this. Please refer to the following code
    https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-organization-chart


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.