簡體   English   中英

如何使用microsoft graph api獲取sharepoint中的列(字段)

[英]How to get columns(fields) in sharepoint using microsoft graph api

當我調用微軟圖形 API 返回一些屬性時,但我需要的屬性缺少一些。

https://graph.microsoft.com/beta/sharepoint/sites/{site-id}/lists/{list-id}/fields

如果返回類型是選擇我需要知道選擇列表但我沒有得到因為調用正確

您現在可以使用以下端點獲取此信息:

https://graph.microsoft.com/v1.0/sites/{site-Id}/lists/{list-Id}/columns

來源: https : //docs.microsoft.com/en-us/graph/api/resources/list?view=graph-rest-1.0

Microsoft Graph API 目前不支持此功能。 同時,您可以使用 SharePoint REST API 來檢索字段信息,包括選項字段中可用的選項。

有關如何使用 SharePoint REST API 在 MSDN 上檢索字段的更多詳細信息,請訪問: https : //msdn.microsoft.com/en-us/library/office/dn600182.aspx

要調用 SharePoint REST API,您需要知道 SharePoint 網站/列表的 URL,並獲取該 SharePoint 租戶的訪問令牌。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM