从PowerApp上的SharePoint Person专栏中检索数据
我有一个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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许您可以尝试用户()。全名
Maybe you can try User().FullName