电源应用。在SharePoint列表列中检索记录值,用于下拉框

发布于 2025-01-31 13:14:08 字数 1150 浏览 3 评论 0原文

作为参考,我已经重新创建了此应用 https://www.matthewdevaney。 com/make-a-power-apps-approvals-form/ 我更改了设备列有多个值,现在有些代码dosent工作,因为该条目不再是记录。我认为现在是桌子。

我在这里有一些代码;

ViewForm(frm_Request);
Set(varRequest, frm_Request.LastSubmit);

If(varRequest.Status.Value="Submitted",
    Office365Outlook.SendEmailV2(
        varRequest.Manager.Email,
        "IT Equipment Request - Approval Required",
        "An I/T equipment request was made for a "&varRequest.Equipment.Value&" by "&varRequest.Employee.DisplayName&".  <a href="""&varAppID&"?recordid="&varRequest.ID&""">Click here</a> to approve/reject the request."
    )
)

at&amp; varrequest.Equipment.Value&amp; (.value)有一个错误“期望记录值”,

我尝试将其更改为concat(varrequest.Equipment,value&amp;“,”),但是在运行应用程序时似乎会造成错误

我对编码和电源应用程序的新手一般而言,如果缺少任何详细信息,则很抱歉。

在添加concat()之后运行应用程序时错误的错误图像

For reference I have recreated this app https://www.matthewdevaney.com/make-a-power-apps-approvals-form/
I changed the equipment column to have multiple values and now some code dosent work because the entry is not a record anymore. I think it is a table now.

I have some code for e.g here;

ViewForm(frm_Request);
Set(varRequest, frm_Request.LastSubmit);

If(varRequest.Status.Value="Submitted",
    Office365Outlook.SendEmailV2(
        varRequest.Manager.Email,
        "IT Equipment Request - Approval Required",
        "An I/T equipment request was made for a "&varRequest.Equipment.Value&" by "&varRequest.Employee.DisplayName&".  <a href="""&varAppID&"?recordid="&varRequest.ID&""">Click here</a> to approve/reject the request."
    )
)

at &varRequest.Equipment.Value& (.Value) has an error "expecting record value"

I tried changing this to concat(varRequest.equipment, Value & ",") But it seems to create errors when running the app

Is there a work around for this ?

Im very new to coding and power apps in general so sorry if this is missing any details.

Image of error when running the app after adding concat()

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文