英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论