List Properties

List Names

The names of lists that should be retrieved. Separate each list with a "|".

List Type

The type of list that should be retrieved. This property overrides the use of the List Names property (above).

List View

The name of the view that should be used to retrieve data from the lists.

List View Parameter

The parameter name used to retrieve a dynamic list view query entered at run time.

List View XML

Use to specify the complete List View XML for a view of data from lists retrieved by the web part.

If you want to include URL filterable elements, encase the name of the parameter you want to use with a [%...%]. ([%SearchText%] which will now expect ?SearchText to be used on the page.) If you want to include Cookie Name filterable elements, encase the name of the parameter you want to use with a [:...:]. ([:Company:] which will now expect cookies to be used on the page.)

 

Example:

<View>

                <Query>

                                <OrderBy>

                                                <FieldRef Name='ID'/>

                                </OrderBy>

                                <Where>

                                                <Or>

                                                                <Geq>

                                                                                <FieldRef Name='Field1'/>

                                                                                <Value Type='Number'>1500</Value>

                                                                </Geq>

                                                                <Leq>

                                                                                <FieldRef Name='Field2'/>

                                                                                <Value Type='Number'>500</Value>

                                                                </Leq>

                                                </Or>

                                </Where>

                </Query>

                <ViewFields>

                                <FieldRef Name='Title'/>

                                <FieldRef Name='Field1'/>

                                <FieldRef Name='Field2'/>

                                <FieldRef Name='Field3'/>

                                <FieldRef Name='Field4'/>

                </ViewFields>

                <RowLimit>100</RowLimit>

</View>