简体   繁体   English

如何在 PowerApps 中的 model 驱动的应用程序中集成 SharePoint 列表?

[英]How to integrate SharePoint list in model driven app in PowerApps?

I have created many Canvas apps and integrate SharePoint list as data source in PowerApps.我创建了许多 Canvas 应用程序并将 SharePoint 列表集成为 PowerApps 中的数据源。 Now, i will need to create Modern Driven apps in PowerApps and get data from SharePoint list.现在,我需要在 PowerApps 中创建现代驱动应用程序并从 SharePoint 列表中获取数据。

Do model-driven apps only run on Common Data Service (CDS) entities?模型驱动应用是否仅在 Common Data Service (CDS) 实体上运行? Or can they also run on data from other sources (like SharePoint lists or SQL Server tables)?或者他们也可以在其他来源的数据上运行(如 SharePoint 列表或 SQL 服务器表)?

Can anyone help me for the same?任何人都可以帮助我吗? Thanks in advance.提前致谢。

Model-driven Apps run only on Dataverse (formerly Common Data Service) entities, thus you cannot directly reference a SharePoint list.模型驱动的应用程序仅在 Dataverse(以前称为 Common Data Service)实体上运行,因此您不能直接引用 SharePoint 列表。

You can recreate the list as a Dataverse Table (formerly Entity).您可以将该列表重新创建为 Dataverse 表(以前称为实体)。 Then you could use Power Automate to keep the two lists synchronized.然后,您可以使用 Power Automate 使两个列表保持同步。 If the list will be read-only in the Model-driven App this will be simpler, but two-way sync is possible.如果列表在模型驱动应用程序中是只读的,这将更简单,但双向同步是可能的。

Another possibility, is creating a Canvas App that reads (and, if necessary, edits) the SharePoint list and embedding the Canvas App in your Model-driven App.另一种可能性是创建一个 Canvas 应用程序,该应用程序读取(并在必要时编辑)SharePoint 列表并将 Canvas 应用程序嵌入到您的模型驱动应用程序中。 This only works if there is no need for creating relationships between the Model-drive App records and the SharePoint List items.这仅在不需要创建模型驱动应用程序记录和 SharePoint 列表项之间的关系时才有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM