2011年11月14日
摘要: SharePoint2010隐藏文档库或列表的ribbon按钮。首先,新建一个SharePoint空白项目,添加一个元素,然后在Elements.xml的Elements标签里添加以下信息这个是列表的<CustomAction Id="RemoveAlertMeButton" Location="CommandUI.Ribbon.ListView" RegistrationId="100" RegistrationType="List"> <CommandUIExtension>... 阅读全文
posted @ 2011-11-14 15:26 欣静赏悦 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 1.通过Feature来实现1.1如果你想针对列表来隐藏新建文件夹命令,Feature代码如下: <CustomAction Id="Remove.ListItem.NewFolder" Location="CommandUI.Ribbon"> <CommandUIExtension> <CommandUIDefinitions> <CommandUIDefinition Location="Ribbon.ListItem.New.NewFolder" /> </CommandUI 阅读全文
posted @ 2011-11-14 15:24 欣静赏悦 阅读(531) 评论(0) 推荐(0) 编辑