3

Power Automate 处理 SharePoint Online 人员字段

 3 years ago
source link: https://www.cnblogs.com/jianyus/p/14267635.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Power Automate 处理 SharePoint Online 人员字段

  前言

  最近,在用Power Automate处理SharePoint列表数据的时候,碰到一个问题,就是人员和组字段如果是单选没问题,很容易就能够赋值。但是,如果是多选字段,就需要一些技巧了。

  正文

  首先,需要先创建一个变量,类型是Array,然后,把获取到的多选的用户和组字段的值做一个循环,赋值给Array变量,如下图:

256729-20210112162336371-1040097134.png

  然后,到了赋值的地方,直接把这个Array变量赋值过去,就可以了,如下图:

256729-20210112162436118-589094790.png

  这样操作,就能够把多选的人员和组字段的值,从一个列表项目赋值到另一个列表项目了。

  总结

  很多人说,单选的操作可以这样操作么?说真的,我没试过,因为单选的人员和组字段,直接把上一个列表项目字段的Claims放进去,就可以了,我没试过绕圈子。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK