创建一个组织结构图?

huangapple go评论67阅读模式
英文:

Creation of an organization chart?

问题

我想知道如何使用PowerApps创建像以下图片中显示的交互式流程图。

我希望能够为每位负责人显示其团队,并将我之前点击的负责人置于块的顶部,并在其下显示他的团队。

我试图通过查看我的SharePoint列表中的数据来创建此流程图。

点击经理之前的屏幕(基本屏幕):

创建一个组织结构图?

点击经理1后的屏幕:

创建一个组织结构图?

希望您能理解。

我希望他能为我制作一个组织图,根据员工在公司的职位和所在团队来排序员工。

英文:

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

创建一个组织结构图?

Screen after clicking on manager 1 :

创建一个组织结构图?

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.

答案1

得分: 0

在 Power Apps 画布应用中,您可以使用一个包含经理标签和类似控件的下属画廊来实现这一点。

您说您想使用 SharePoint 列表来映射组织,但您也可以使用 Office365Users 连接器 来实现这个目的。当您点击 'Manager1' 时,可以运行 '获取直属下属 (V2)' 并在画廊中显示结果。此外,您必须将 'Manager1' 的对象保存在一个变量中,并设置 BOSS 区域以显示这个变量。

我建议您还实现一个按钮,以使用户能够在组织中向上移动。

英文:

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.

huangapple
  • 本文由 发表于 2023年7月11日 14:36:17
  • 转载请务必保留本文链接:https://go.coder-hub.com/76659245.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定