Show All

# lastOpenView Attribute

Identifies the name of the view that was last open in Microsoft Office InfoPath 2003 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>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp