編輯

共用方式為


CustomActionGroup Element (Custom Action)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Contains the core definition for a grouping of custom actions.

Definition

<CustomActionGroup
  Description = "Text"
  Id = "Text"
  Location = "Text"
  Sequence = "Integer"
  Title = "Text">
</CustomActionGroup>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

**Description**

Optional **Text**. Specifies a longer description that is exposed as a sub-description for the action group.

**Id**

Optional **Text**. Specifies a unique identifier for the element. The ID may be a GUID, or it may be a unique term, for example,

`"SiteManagement"`. See Default Custom Action Locations and IDs for a list of the default custom action group IDs that are used in SharePoint Foundation.

**Location**

Required **Text**. Specifies a value for where the action lives. This string is a name that is declared on the **LinkSectionTable** control within a page. See Default Custom Action Locations and IDs for a list of the default custom action group locations that are used in SharePoint Foundation.

**Sequence**

Optional **Integer**. Specifies the ordering priority for the action group.

**Title**

Required **Text**. Specifies the end user description for the action group.

Child elements

None

Parent elements

Elements

Remarks

To ensure that a custom action group section is displayed within a link section table, supply additional custom actions outside this element.

See also