Share via


lastOpenView Attribute

Identifies the name of the view that was last open in Microsoft Office InfoPath 2007 design mode.

Type

  xsd:string

Remarks

The lastOpenView attribute is an optional attribute of the solutionProperties element.

The next time the form is opened in InfoPath design mode, this view is automatically displayed. The value for this attribute should be an existing view name in the form template.

Example

The following is an example of the lastOpenView attribute as it is used in the solutionProperties element:

  <xsf: applicationParameters application="InfoPath Design Mode">
   <xsf: solutionProperties
      allowCustomization="no"
      lastOpenView="view1"
      scriptLanguage="JScript"
      automaticallyCreateNodes="no"
      lastVersionNeedingTransform="1.0.0.10"
      fullyEditableNamespace="urn:namespace1:mynames"/>
</xsf:applicationParameters>