List 如何更改SharePoint中列表菜单工具栏菜单的顺序
我需要添加自定义菜单列表菜单工具栏。我编写了List 如何更改SharePoint中列表菜单工具栏菜单的顺序,list,sharepoint,menu,customization,List,Sharepoint,Menu,Customization,我需要添加自定义菜单列表菜单工具栏。我编写了elements.xml,如下所示: <CustomAction Id="SiteActionsToolbar" RegistrationType="ContentType" RegistrationId="0x01" Location="ViewToolbar" Title="Upload" Sequence="0" Description="Upload file ti file system">
elements.xml
,如下所示:
<CustomAction
Id="SiteActionsToolbar"
RegistrationType="ContentType"
RegistrationId="0x01"
Location="ViewToolbar"
Title="Upload"
Sequence="0"
Description="Upload file ti file system">
<UrlAction Url="SitePages/UploadFile.aspx?ListId={ListId}"/>
</CustomAction>
“我的自定义菜单”将出现并正常工作。
但要求是在“操作”菜单之前的“新建”菜单之后设置此菜单的显示顺序
是否可以在sharepoint中不使用Javascript执行此操作?您需要使用以下标记定义位置: 您可以通过将“新”替换为您的分区来更改位置 一般条目将为“新建”、“管理”、“副本”、“工作流”
行Ribbon.Documents.New.Controls.\u children告诉sharepoint在哪个部分放置自定义按钮。它似乎适用于sharepoint 2010,但我需要sharepoint 2007