Share via


ViewForm Element (DeploymentViewFormsList)

Applies to: SharePoint Foundation 2010

Represents the specific Web Part object (SPViewForm) instances that are listed in the ViewFormsList.xml file, which is exported to the content migration package. The ViewFormsList.xml file specifies whether each instance is a view or a form.

DECLARATION
<xs:element
    name="ViewForm"
    type="SPViewForm"
    minOccurs="0" maxOccurs="unbounded"
/>

USAGE
<ViewFormsList>
    <ViewForm
       Id="xs:string"
       Type="xs:string"
    />
</ViewFormsList>

Type

SPViewForm

Attributes

Attribute

Type

Description

Id

xs:string

Optional. Unique identifier that identifies each specific Web Part.

Type

xs:string

Specifies whether the Web Part is a view or a form. Allowable values are View, Form, and File. However, the File value is not functional and is reserved for future use.

Child Elements

None

Parent Elements

ViewFormsList Element (DeploymentViewFormsList)

See Also

Concepts

DeploymentViewFormsList Schema