Geeks With Blogs
Evgeny Tugarev blog July 2008 Entries
How to define indexed column in SharePoint list in schema.xml file
In the top-level SharePoint list views I often order items by the "Last Updated" column. Corresponding xml fragment of the list schema.xml looks like <View BaseViewID="0" Type="HTML" ContentTypeID="0x012001">... <Query> <OrderBy> <FieldRef Name="DiscussionLastUpdated" Ascending="FALSE"> </FieldRef> </OrderBy> </Query> </View> When a SPList contains large number of items it is also vital to define "Last Updated" as indexed column to keep having good ......

Posted On Wednesday, July 9, 2008 10:31 AM

Copyright © Evgeny Tugarev | Powered by: