![](/img/trans.png)
[英]Using Graph API is it possible to filter items from a list/document library filtering by webUrl containing some text?
[英]Get Document Library document Templates
一旦您在 Sharepoint 文档库中定义了额外的文档模板,如何通过 MS Graph 检索它们?
关于 MS 文档模板存储在名为“Forms”的文件夹中( https://support.microsoft.com/en-us/office/set-a-custom-template-for-a-sharepoint-library-8e0177eb-46bd- 4346-9998-330c32733c25 )。 但是这个文件夹既不能通过ms graph列出,也不能通过ms graph的路径浏览。 所以我的问题是如何访问这些文档模板?
SharePoint 站点和列表与contentType
有关系。
ContentType资源类型具有属性documentTemplate
,这应该是您正在寻找的。
也许最好的开始方式是致电 Graph API 并获取您的站点或列表的contentType
。
GET https://graph.microsoft.com/v1.0/sites/{site_id}/contentTypes
GET https://graph.microsoft.com/v1.0/sites/{site_id}/contentTypes?$select=id,documentSet,documentTemplate
GET https://graph.microsoft.com/v1.0/sites/{site_id}/lists/{list_id}/contentTypes
GET https://graph.microsoft.com/v1.0/sites/{site_id}/lists/{list_id}/contentTypes?$select=id,documentSet,documentTemplate
资源:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.