SharePoint SharePoint 2000 Client Object Model - Large Library - Search for an item without iteration

I have a large document library (currently ~ 6000 documents), and I need to find a document based on a custom field value (user column in the library).

Is there any way to return this document without repeating all 6,000 documents?

I understand that the iteration should happen at some point, but I would prefer it to happen on the server side of SharePoint, instead of transferring all of them to the client side, and then a cherry document.

thank

+5
source share
1 answer

Sharepoint. CAML, , , . . (, URL- ). , , .

: http://msdn.microsoft.com/en-us/library/ee956524.aspx, , javascript silvelight.

CAML:

        CamlQuery camlQuery = new CamlQuery();
    camlQuery.ViewXml =
        @"<View>
            <Query>
              <Where>
                <Eq>
                  <FieldRef Name='FileLeafRef'/>
                  <Value Type='Text'>Test.docx</Value>
                </Eq>
              </Where>
              <RowLimit>1</RowLimit>
            </Query>
          </View>";
+3

All Articles