Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
List 如何更改SharePoint中列表菜单工具栏菜单的顺序_List_Sharepoint_Menu_Customization - Fatal编程技术网

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