从PowerApp上的SharePoint Person专栏中检索数据

发布于 2025-01-25 17:23:22 字数 319 浏览 3 评论 0原文

我有一个PowerApp,其中一个画廊显示存储在名为用户的人列中的SharePoint列表中。

例如,在我的画廊中向用户展示用户没有问题,我可以使用thisitem.user.displayname毫无问题,但是当我想对某些用户数据过滤搜索时,它无效。如果我尝试使用其他列(例如“城市”)进行过滤,则由于人员列输出的数据类型,这似乎是错误的。

这是我要应用于画廊的代码,

search(MyList,searchbar.text,User.DisplayName)

错误说“名称不正确。'用户'未识别。” 如何解决这个问题?提前致谢

i have a powerapp with a gallery showing users stored in a sharepoint list inside a Person column named User.

I have no problem in showing the users, for instance, in my gallery i can use ThisItem.User.DisplayName with no problem, but when i want to make a search filtered on some user data it doesnt work. If i try filtering using another column such as "city" it works, so it seems an error due to the type of the data that the Person column output.

this is the code i want to apply to my gallery

search(MyList,searchbar.text,User.DisplayName)

the error says "Name isn't valid. 'User' isn't recognized."
how to fix this? Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无远思近则忧 2025-02-01 17:23:23

也许您可以尝试用户()。全名

Maybe you can try User().FullName

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文