2011年8月24日 星期三

SharePoint 2010 Custom Action Locations and Group IDs - Menu

每次在設定Ribbon的時候,或是其他Elements功能都常常需要設定到Location和以及相對應的Group,每一次也要查一下MSDN,雖然查的到,但亞當斯還是覺得好麻煩,所以就把微軟官方的SharePoint 2010 Custom Action Locations and IDs在這邊也記錄備查一下。

SharePoint 2010 的Locations and GroupIDs總共分為四大類:

  • Menu Custom Action Locations and Group IDs
  • Page Custom Action Locations and Group IDs
  • Central Administration Custom Action Locations and Group IDs
  • Server Ribbon Custom Action Locations and Group IDs

以下是Menu對應表格資料:

Menu Custom Action Locations and Group IDs

Location

Custom Action Group IDs

Default Custom Action IDs

Group Description

DisplayFormToolbar

Not applicable

ExportEventToolbarButton (calendars)

ExportContactToolbarButton (contacts)

Location corresponds to the display form toolbar of lists.

EditControlBlock

Not applicable

Not applicable

Location corresponds to the per-item edit control block (ECB) menu.

EditFormToolbar

Not applicable

Not applicable

Location corresponds to the edit form toolbar of lists.

NewFormToolbar

Not applicable

Not applicable

Location corresponds to the new form toolbar of lists.

ViewToolbar

Not applicable

Not applicable

Location corresponds to the toolbar in list views.

Microsoft.SharePoint.StandardMenu

ActionsMenu

Not applicable

Actions menu in list and document library views.

Microsoft.SharePoint.StandardMenu

ActionsMenuForSurvey

Not applicable

Site Actions menu for surveys.

Microsoft.SharePoint.StandardMenu

SettingsMenuForSurvey

Not applicable

Site Settings links for surveys.

Microsoft.SharePoint.StandardMenu

SiteActions

Not applicable

Site Actions menu.

沒有留言: