DwpFile element (Solution)

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

Specifies a web part file (.dwp or .webpart) to include in the solution.

  <DwpFile
        FileName = "Text" 
        Location = "Text">
  </DwpFile>

Elements and attributes

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

Attributes

Attribute Description
FileName
Optional Text. The name of the web part file.
Location
Optional Text. The relative path of the web part file.

Child elements

None

Parent elements