OBPart element in ArrayOfOBPart

(LayoutDefinitions Schema)

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

Specifies an External Data Part.

Namespace: http://schemas.microsoft.com/office/2009/05/BusinessApplications/Layout

Schema: LayoutDefinitions

<OBPart PartType = "String" QualifiedTypeName = "String" DataSourceName = "String" DataSourceOrigin = "String" Description = "String" Text = "String" Expanded = "Boolean" FillParent = "Boolean"> </OBPart>

Elements and attributes

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

Attributes

Attribute

Description

**PartType**

Required.

The type of the Office External Part.

The following table lists the possible values for this attribute.

Value

Description

InfoPath

The default Microsoft InfoPath Office External Part.

List

The default List Office External Part.

Custom

A custom Office External Part.

**QualifiedTypeName**

Optional.

If PartType is Custom, you must provide this attribute. It specifies the fully qualified .NET Framework type name of the custom Office External Part.

Attribute type: **String**

**DataSourceName**

Optional.

The name of the data source to use for this Office External Part (for example, the name of the external content type's view, the **SpecificFinder** method instance).

Attribute type: **String**

**DataSourceOrigin**

Optional.

This is not used in the current release.

The following table lists the possible values for this attribute.

Value

Description

Context

Container

**Description**

Optional.

A brief phrase that describes what the Office External Part does, for use in ToolTips.

Attribute type: **String**

**Text**

Optional.

The title of the Office External Part.

Attribute type: **String**

**Expanded**

Optional.

Determines whether the Office External Part is expanded when it is displayed for the first time in a Stack container.

Attribute type: **Boolean**. **True** if the External Data Part is expanded when it is displayed for the first time in a Stack container; otherwise, **false**.

**FillParent**

Optional.

Specifies if this Office External Part is maximized within its parent container.

Attribute type: **Boolean**

Child elements

Element Description
CustomProperties element in UIElement (LayoutDefinitions Schema) The list of the custom properties of the Container or Office External Part.
TitleBar element in OBPart (LayoutDefinitions Schema) The UI and behavior of the title bar of the Office External Part.
ActionNames element in OBPart (LayoutDefinitions Schema) The actions that are exposed by this Office External Part.

Parent elements

Element Description
Children element in Container (LayoutDefinitions Schema)