【发布时间】:2021-07-01 22:26:16
【问题描述】:
我正在尝试在 Microsoft 电源应用中实现类似的功能。按下like按钮时遇到问题我收到错误
The type of this argument "LikedBy" does not match the expected type "Record" found type "text" instead.
我使用的代码是
Patch(
ProposalLikes,
Defaults(ProposalLikes),
{
ThemeID: ThisItem.ID,
Liked: 1,
LikedBy: User().Email
}
)
有人知道我为什么会收到这个错误吗?
【问题讨论】:
-
ProposalLikes是字面上的表格还是集合?当文本对此最有意义时,它会期待记录,这当然很奇怪。 -
您列表中“喜欢的人”列的类型是什么?并对尼克的上述问题 +1 - ProposalLikes 的类型是什么?根据图像,它看起来像一个 SharePoint 列表,但最好确认一下。
标签: powerapps powerapps-formula