简体   繁体   English

SharePoint 使用图表 API 列出“NoCrawl”

[英]SharePoint List 'NoCrawl' with Graph API

The SharePoint API to GET a list, shows the boolean property 'NoCrawl' in its response.获取列表的 SharePoint API 在其响应中显示 boolean 属性“NoCrawl”。 This property can be set by altering the settings for the Search availability and Offline access through the settings.可以通过设置更改搜索可用性和离线访问的设置来设置此属性。

GET https://{site_url}/_api/web/lists/GetByTitle('List Title')

However the Graph API counterpart doesn't have this property.但是 Graph API 对应物没有此属性。

GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists/

Update - Seems there is no way right now other than using the old SharePoint API itself.更新- 除了使用旧的 SharePoint API 本身之外,似乎没有其他办法。 I'll keep the question open if in case the feature in inculcated.如果该功能被灌输,我将保持问题开放。

As Shiva updated there is no such property called NoCrawl as of now in the public documen t and any relationship for expanding even in beta.随着 Shiva 的更新,截至目前,在公共文档中没有名为 NoCrawl 的此类属性,并且即使在 beta 中也没有任何扩展关系。 Being said that I remember a related thread which works in SharePoint online rest api, which you may want to give a try with Microsoft Graph and see if it helps your scenario.据说我记得在 SharePoint 在线 rest api 中工作的相关线程,您可能想尝试使用 Microsoft Graph 看看它是否对您有帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用图形API匿名读取共享点列表 - Read sharepoint list anonymous using graph api SharePoint - Microsoft Graph API:子网站列表为空 - SharePoint - Microsoft Graph API: subsites list is empty 无法再通过Graph API找到SharePoint Site Assets列表 - Can no longer find SharePoint Site Assets list via Graph API 如何使用 Microsoft Graph API 创建 SharePoint 列表项? - How to create SharePoint list item with Microsoft Graph API? 将数据从 JSON 上传到 Sharepoint 列表与 Microsoft Graph API in ZA7F5F35426B92748117363 - Uppload data from JSON to Sharepoint List with Microsoft Graph API in Python 在 SPFx 中使用图形 API 在 sharepoint 中创建列表项 - create list item in sharepoint using Graph API in SPFx Microsoft Graph API - Sharepoint 列表无法调用创建/更新 SharePoint 列表项,GET/DELETE 有效 - Microsoft Graph API - Sharepoint list unable to call create/update SharePoint list items, GET/DELETE works 无法通过图表 API 对 sharepoint 列表文件夹应用过滤器,自定义列也不会通过图表 API 出现 - Not able to apply filter on sharepoint list folder via Graph API , also custom columns are not coming via Graph API 使用Graph API查询SharePoint列表项并扩展用户字段 - Using Graph API to query SharePoint list items and expand user field 无法通过 Microsoft Graph API 检索 Sharepoint 列表的项目计数 - Unable to retrieve item count for Sharepoint List through Microsoft Graph API
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM