다음을 통해 공유


DeclarativeContextDefinitionGroup Element (SolutionManifestDeclarativeExtensions Schema)

Applies to: SharePoint Server 2010

The <DeclarativeContextDefinitionGroup> element derives from the <ContextDefinitionGroup> element. In intermediate declarative Microsoft Outlook 2010 solutions, this element is used to define a context definition group that containins a list of context definitions for one of the Outlook Item Types, such as Contact, Task, Post, or Calendar, or if showing data in a taskpane, an EntityView.

Namespace: https://schemas.microsoft.com/office/2009/05/BusinessApplications/Manifest/DeclarativeExtensions

Schema: SolutionManifestDeclarativeExtensions

<ContextDefinitionGroup xsl:type="DeclarativeContextDefinitionGroup" xmlns:xsl=http://www.w3.org/2001/XMLSchema-instance” RibbonFileName = "String" ItemType = "String" Description = "String"> </ContextDefinitionGroup>

Attributes and Elements

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

Attributes

Attribute

Description

RibbonFileName

The relative path to the ribbon file for this context. The path is relative to the location of the solution manifest file.

Optional.

Attribute type: String

ItemType

The Outlook Item Type that this context definition group represents.

Required.

The following table lists the possible values for this attribute.

Value

Description

EntityView

This value indicates that the context for this context definition group is an Outlook taskpane.

OutlookAppointment

This value indicates that the context for this context definition group is an Outlook Appointment item.

OutlookContact

This value indicates that the context for this context definition group is the Outlook Contact item.

OutlookPost

This value indicates that the context for this context definition group is the Outlook Post item.

OutlookTask

This value indicates that the context for this context definition group is the Outlook Task item.

Description

A description for this context definition group.

Optional.

Attribute type: String

Child Elements

Element

Description

ContextDefinition

The <ContextDefinition> element is used to define a context for an external content type that is of this Outlook Item Type.

Parent Elements

None.