ViewForm Element (DeploymentViewFormsList)

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

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.

Definition

DECLARATION
<xs:element
    name="ViewForm"
    type="SPViewForm"
    minOccurs="0" maxOccurs="unbounded"
/>
USAGE
<ViewFormsList>
    <ViewForm
       Id="xs:string"
       Type="xs:string"
    />
</ViewFormsList>

Type

SPViewForm

Elements and attributes

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

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