SharePoint扩展命令集 [英] SharePoint extension command set

查看:89
本文介绍了SharePoint扩展命令集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SharePoint Modern:是否可以使用命令集为特定列表添加自定义操作,或者如何为特定列表激活自定义操作? 我正在尝试为特定列表开发自定义操作,但是当我在SharePoint租户中部署此自定义操作时,将为所有列表(相同类型的列表模板)添加此自定义操作.

SharePoint Modern: Is it possible to add an custom action using command set for a particular list or how to activate a custom action for specific list? I am trying to develop a custom action for specific list but when I deployed in SharePoint tenant this custom action is added for all list(same type of list template).

推荐答案

是的.您可以使用列表ID进行检查,如果匹配,请使用command.visible == true

Yes it is.. You can check it with the list id, and if matches make command.visible == true

这篇关于SharePoint扩展命令集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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