Sharepoint 发布页面上的自定义功能区按钮
我正在尝试将按钮添加到页面。尝试将位置设置为Ribbon.PublishTab.Publishing 但是按钮不显示。需要一些帮助 谢谢Sharepoint 发布页面上的自定义功能区按钮,sharepoint,sharepoint-2010,ribbon-control,Sharepoint,Sharepoint 2010,Ribbon Control,我正在尝试将按钮添加到页面。尝试将位置设置为Ribbon.PublishTab.Publishing 但是按钮不显示。需要一些帮助 谢谢 Rama这取决于它是wiki页面还是Web部件页面,以及哪个选项卡和组。下面是将功能区添加到Wiki页面/共享选项卡和Web部件页面/共享选项卡的示例 以下是元件代码: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="COB.Sha
Rama这取决于它是wiki页面还是Web部件页面,以及哪个选项卡和组。下面是将功能区添加到Wiki页面/共享选项卡和Web部件页面/共享选项卡的示例 以下是元件代码:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction Id="COB.SharePoint.Ribbon.NewControlInExistingGroup"
Location="CommandUI.Ribbon" Sequence="20">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition Location="Ribbon.WikiPageTab.Share.Controls._children">
<Button .......... />
</CommandUIDefinition>
<CommandUIDefinition Location="Ribbon.WebPartPage.Share.Controls._children">
<Button .......... />
</CommandUIDefinition>
有关其他位置,请参阅C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\GLOBAL\XML中的CMDUI.XML
看看这篇文章,我是指每次我的工作自定义丝带太