Export (0) Print
Expand All

preview Element

Office 2007

Specifies properties for previewing the form in InfoPath Design mode.

Usage


<preview
	sampleData="xsd:string"
	domain="xsd:string"
	userRole="xsd:string"
/>

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Parent Elements

ElementDescription
solutionDefinitionRoot element for the elements defined in the xsf2 namespace. Specifies new properties and features that have been added to Microsoft Office InfoPath 2007 form templates.

Child Elements

None

Attributes

AttributeTypeRequiredDescriptionPossible Values
sampleDataxsd:stringOptionalSpecifies the XML file to use for sample data when previewing the form in InfoPath Design mode.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
String
domainxsd:stringOptionalSpecifies the URL of the domain to use when previewing the form in InfoPath Design mode.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form. 
String
userRolexsd:stringOptionalSpecifies the name of the user role to use when previewing the form in InfoPath Design mode.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
String

Definition


<xsd:element name="preview">
   <xsd:complexType>
      <xsd:sequence />
      <xsd:attribute name="sampleData" type="xsd:string" use="optional" />
      <xsd:attribute name="domain" type="xsd:string" use="optional" />
      <xsd:attribute name="userRole" type="xsd:string" use="optional" />
      <xsd:anyAttribute processContents="skip" />
   </xsd:complexType>
</xsd:element>

Remarks

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.



Community Additions

ADD
Show:
© 2014 Microsoft