开发者

How to programmatically disable ECB menu item for a particular list item?

I have a custom document library which is based on default document library. I'd like to disable Edit physical document for some of the documents depending on 开发者_运维知识库their property.


If you don't mind a client side solution then you can use either a single Content Editor Web Part to inject some JavaScript on a single page or execute the script on every page in the site collection using our free SharePoint Infuser.

Plenty of examples, although not your particular problem, can be found here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜