【发布时间】:2017-05-24 15:02:10
【问题描述】:
我们与网站 CRM 有在线共享点。
我使用OneDrive SDK for iOS。 我可以使用 onedrive api 连接到主文档库。我使用了有用的"github example" 来配置它。
resourceId: https://{tenant}.sharepoint.com/
apiEndpoint: https://{tenant}.sharepoint.com/CRM/_api/v2.0
这个库的网址是:
https://{tenant}.sharepoint.com/CRM/Shared Documents
这个配置很好,工作正常。
我在使用此站点上的其他文档库时遇到问题。 Dynamics CRM 创建了自己的文档库。例如帐户。
我可以在网上打开这个图书馆。浏览器网址为: https://{tenant}.sharepoint.com/CRM/account/Forms/AllItems.aspx
但我无法连接到此 CRM 库。 我尝试了简单的索要儿童帐户:
https://{tenant}.sharepoint.com/CRM/_api/v2.0/drive/items/root/children/account
此 API 请求返回错误 404。
我还将 apiEndpoint 修改为:
https://{tenant}.sharepoint.com/CRM/account/_api/v2.0
结果是一样的。错误 404 - 未找到。
请帮助我正确配置。
【问题讨论】:
标签: sharepoint dynamics-crm onedrive