Export (0) Print
Expand All
Expand Minimize

fileNew Element

Office 2007

Provides a reference to an .xml file containing sample data to be loaded when a user chooses to create a new form based on the form template.

Type

xsd:complexType

Structure

NameDescription
initialXmlDocument(Required element) Contains a reference to the XML template file that is used for the creation of a new form based on the form template.

Remarks

The fileNew element is an optional element of the xDocumentClass element.

The fileNew element of the Microsoft Office InfoPath 2007 form definition (.xsf) file defines the name and location of an XML template file that is used when a user clicks Fill Out a Form on the File menu. The XML template file contains the sample data that is loaded when the user chooses to create a new form based on the form template.

Example

The following is an example of the fileNew element:

<xsf:fileNew>
   <xsf:initialXmlDocument
      caption="Travel Report"
      href="TravelReportTemplate.xml"/>
</xsf:fileNew>


Community Additions

ADD
Show:
© 2014 Microsoft