ViewData Element (DeploymentManifest - SPWebPart)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Represents a parameter that enables a view of data associated with an instance of a Windows SharePoint Services 3.0 web part (WebPart) object.
Definition
DECLARATION
<xs:element name="ViewData" minOccurs="0" maxOccurs="1" />
USAGE
<WebPart>
<ViewData />
</WebPart>
Type
xs:string
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
None
Parent elements
WebPart Element (DeploymentManifest)
Remarks
Web Parts can derive from either of two base classes - an ASP.NET web part (WebPart), or a SharePoint Foundation web part (WebPart).