我如何在不使用Power Automate中迭代Power应用程序中的JSON对象
我的电源应用程序中有一个带有Microsoft Graph API的自定义连接器,并且我有一个请求和Graph Explorer的响应,现在我的问题是我无法在Power Apps表中迭代对象。
OnSelect代码: updateContext({getrols:graph_demo.getrols()})
I have a custom connector with microsoft graph api in my power apps and i have a request and a response with graph explorer, now my problem is they i can't iterate the object in my power apps table.
OnSelect code:UpdateContext({getrols:graph_demo.GetRols()})
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试在公式的末尾添加
.value
。然后,您可能会将.approles
添加到.value
中以进入嵌套的JSON。如有疑问,请将
。
添加到您的公式中,并利用Intellisense探索您的响应模式。类似:
clearCollect(Corols,Graph_demo.getrols()。value.Approles)
,尝试使用画廊显示响应而不是列表框。将Gallery
项目
属性设置为Colrols
。You may try adding
.value
to the end of your formula. You'd likely then add.appRoles
to.value
to get into the nested JSON.When in doubt, add a
.
to your formula and leverage the IntelliSense to explore your response schema.Something like:
ClearCollect(coRols, graph_demo.GetRols().value.appRoles)
Also, try using a Gallery to show the response instead of a ListBox. Set the Gallery
Items
property tocolRols
.