다음을 통해 공유


ContextDefinition Element in ContextDefinitionGroup (SolutionManifestDefinitions Schema)

Applies to: SharePoint Server 2010

Defines a context for an external content type of Outlook Item Type that this context definition group defines.

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

Schema: SolutionManifestDefinitions

<ContextDefinition ContentType = "String" Description = "String"> </ContextDefinition>

Attributes and Elements

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

Attributes

Attribute

Description

ContentType

Required.

The type name of this context in Microsoft Outlook 2010. This can be different from the name of the external content type in the model. The value you specify here affects the name of the Outlook Item Type as it will appear in the Outlook object model. In Outlook, the name will be appended to the Outlook Item Type and the full name of an external content type will be "Outlook<OutlookItemType><ContentType>". For example, a Customer external type could be "OutlookContactCustomer" in Outlook if it is visualized as an Outlook Contact. If the external content type is visualized in a task pane in Outlook, the content type has to be in the following format:

length_of_entity_namespace length_of_entity_name length_of_view_name entity_namespace entity_name view_name position_of_entity_namespace

For example, "12 12 24 AWWSExample OrderHeader GetSalesOrderHeaderById 9".

If you use the object model to work on the Outlook items, this is the naming scheme you will use to identify your Outlook items.

Attribute type: String

Description

Optional.

A description for the context definition.

Attribute type: String

Child Elements

Element

Description

Entities Element in ContextDefinition (SolutionManifestDefinitions Schema)

Defines the external content type that this context definition is associated with. In the current release of the product, a context definition can be associated with only one external type, even though the schema supports more than one Entity element.

OfficeItemCustomizations Element in ContextDefinition (SolutionManifestDefinitions Schema)

Lists the Outlook UI customizations defined in this context definition.

Parent Elements

Element

Description

ContextDefinitionGroup Element in ContextDefinitionGroups (SolutionManifestDefinitions Schema)

The context definition group that contains this context definition.