通过代码将标签应用于在线存储在SharePoint中的文档 [英] Apply label to document stored in SharePoint online via code

查看:64
本文介绍了通过代码将标签应用于在线存储在SharePoint中的文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于Office 365,我们具有标签.

For Office 365 we have labels.

https://support.office.com/zh-CN/article/Overview-of-labels-af398293-c69d-465e-a249-d74561552d30

https://support.office.com/en-gb/article/Overview-of-labels-af398293-c69d-465e-a249-d74561552d30

我无法在CSOM中找到任何将现有已发布标签应用于现有文档的方法.

I cannot find any method in CSOM to apply an existing published label to an existing document.

是否有另一个API(例如图形)可以做到这一点?

Is there another API like graph that does this?

这是怎么做的?

推荐答案

您好,

目前尚无与此相关的客户端api,不过您可以根据条件将标签自动应用于文档.

https://support.office.com/en-us/article/Overview-of-labels-af398293- c69d-465e-a249-d74561552d30#applyingauto

为方便起见,您可以通过以下链接提交有关此问题的反馈.

https://sharepoint.uservoice.com/ 

这是一个供客户提供有关Microsoft SharePoint产品反馈的地方.而且,如果其他客户对该反馈给予很高的评价,那么微软产品团队将很有希望 将来在设计下一个版本时会考虑到这一点.

It is a place for customers provide feedback about Microsoft SharePoint products. What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.


这篇关于通过代码将标签应用于在线存储在SharePoint中的文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆