Share via


Layout Element in Layouts (SolutionManifestDeclarativeExtensions Schema)

Applies to: SharePoint Server 2010

The Layout element is used to specify the location of the layout file that contains layout information for the external data part.

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

Schema: SolutionManifestDeclarativeExtensions

<Layout  DisposeOnContextDeactivation = "Boolean" LayoutFileName = "String" Name = "String" Description = "String"> </Layout>

Attributes and Elements

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

Attributes

Attribute

Description

DisposeOnContextDeactivation

Optional.

Determines whether the layout resources should be released when the context is deactivated.

Attribute type: Boolean

LayoutFileName

Required.

The XML layout file name without the .xml extension.

Attribute type: String

Name

Required.

The name of the layout.

Attribute type: String

Description

Optional.

A description

Attribute type: String

Child Elements

Element

Description

Properties

Can contain a property named AssociatedActionType to specify the type of action that is associated with this layout. Accepted values are Edit, Create, and ViewDetails.

Parent Elements

Element

Description

Layouts Element in DeclarativeContextDefinition (SolutionManifestDeclarativeExtensions Schema)

The Layouts element that contains this layout.