0

I'd like to know how to create an interactive flowchart like the one shown in the following images using PowerApps. I would like to be able to display for each person in charge, his team underneath and thus put the person in charge on which I clicked previously at the top of the block and have his team underneath.

I am trying to create this flowchart by going through the data in my SharePoint list.

Screen before clicking on manager (basic screen) :

enter image description here

Screen after clicking on manager 1 :

enter image description here

Hoping to make you understand

I'd like him to make me an organization chart to sort the employees according to their rank in the company and the teams they're in.

Zhaskiel
  • 25
  • 1
  • 4

1 Answers1

0

In Power Apps canvas apps, you could do that using a Container with Labels for the manager and a gallery of similar controls for subordinates.

You said you wanted to map the organization using a SharePoint list, but you could also use the Office365Users connector for this purpose. When you click 'Manager1', you could run the 'Get direct reports (V2)' and display the results in the gallery. Also, you must save the object for 'Manager1' in a variable and set up the BOSS area so that it displays this variable.

I suggest you also implement a button to enable users move across the organization upwards.

mmikesy90
  • 783
  • 1
  • 4
  • 11
  • And how do I do all this? Is there a detailed tutorial on the Internet? And knowing that if I use office365Users Connector no hierarchy is made in Office365. I'm a beginner on PowerApps and frankly I find this setup extremely complex. – Zhaskiel Jul 12 '23 at 14:09
  • 1
    Office365 has a 'manager' field for users so implicitly there is a hierarchy. While the above description may seem complex, it is actually much better than maintaining already existing information duplicated in a SharePoint list and deal with delegation. Perhaps this video explains more: https://www.youtube.com/watch?v=Sb6xALH1NQc – mmikesy90 Jul 12 '23 at 15:14
  • Thanks for the answer, it's exactly what I was looking for. – Zhaskiel Jul 13 '23 at 06:09