Show All

# listProperties Element

Identifies the properties that should be on a list view of all forms belonging to the form template.

## Type

    xsd:complexType

## Structure

Name | Description
--- | ---
fields | (Optional element) Defines a set of one or more field elements.

## Remarks

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

XML documents belonging to a form can be placed in a single folder or form library. Depending on the underlying support in the file system or server, this information can be used to create meaningful list views on a set of forms. For example, when Microsoft Office InfoPath 2003 forms are saved to a Windows SharePoint Services form library that is based on an InfoPath form template, form properties specified in this section are automatically promoted and made available to the default view of the form library.

## Example

The following is an example of the listProperties element:

    <xsf:listProperties>
       <xsf:fields>
          <xsf:field
             type="xsd:date"
             name="TravelDate"
             columnName="TravelDate"
             required="yes"
             viewable="yes"
             node="TravelReport/Header/travelDate"
             aggregation="first"/>
       </xsf:fields>
    </xsf:listProperties>

©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