如何从SharePoint Online WebPart连接到Dataverse Rest API

发布于 2025-02-09 09:04:37 字数 89 浏览 3 评论 0原文

在此上找到一个好的样本或文章似乎很难,我希望获得有关配置此样本或文章的一些链接。还是有人有一些与SPFX WebParts连接到Dataverse的经验?警告等吗?

It seems to be hard finding a good sample or article on this and i was hoping to get some links to samples or articles with regards to configuring this. Or if someone has some experience connecting to dataverse from spfx webparts? caveats and something?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

最偏执的依靠 2025-02-16 09:04:37

我不久前发表了一篇有关它的文章,这是链接。通常,您必须授予SPO可扩展性主访问Dynamics CRM,然后您可以使用HTTP客户端找到

spContext.aadHttpClientFactory.getClient(<env-url>)

示例React App 在这里,它应该很容易转换为spfx。如果您需要更多帮助,请告诉我,我也可以准备一些SPFX样本。

I published an article about it some time ago, here's the link. In general You have to grant SPO Extensibility Principal access to Dynamics CRM and then You can get the http client using

spContext.aadHttpClientFactory.getClient(<env-url>)

You can find a sample react app here which should be easy to convert to SPFx. If You need any more help let me know, I can prepare some SPFx sample as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文