【问题标题】:How to read the attachment of sharepoint online lists using the Graph API如何使用 Graph API 读取 sharepoint 在线列表的附件
【发布时间】:2021-11-04 05:49:11
【问题描述】:

对于任何 SharePoint Online 列表中的附件项目,图表浏览器只能获取包含值“true”或“false”的 Attachments 属性。

使用 Rest API,我们可以轻松展开并抓取附加的链接。但是,使用 Graph Explorer 我们无法展开 Attachments 属性。

我在 Graph Explorer 中尝试过的以下查询:https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/items/{item-id}

附件:真实

我们如何获取附件。

【问题讨论】:

  • Rest API 是什么意思? Sharepoint REST API?

标签: microsoft-graph-api sharepoint-online sharepoint-list


【解决方案1】:

不支持检索List Item 附件详细信息。

到目前为止,您只能使用 Sharepoint REST API

【讨论】:

    【解决方案2】:

    正如@user2250152 所说,Graph API 目前不支持此功能。您可以在这里提交功能请求:https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-01-25
      • 1970-01-01
      • 2023-01-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-20
      • 2018-09-08
      相关资源
      最近更新 更多