locked
Caml query to find document under folder RRS feed

  • Question

  • Hello,

    i have a document library which contains several folders like 'test1', 'test2', 'test3'. Under folders i have a document file 'document.docx'. I wanted to retrieve the 'TimeStamp' field of the document.docx via caml query. Below is the query i am trying.

       <ViewFields>
          <FieldRef Name='TimeStamp' />
       </ViewFields>
       <Where>
          <Eq>
             <FieldRef Name='FileLeafRef' />
             <Value Type='File'>test1</Value>
          </Eq>
       </Where>

    Query is not returning the desired result. Any help would be really appricaited.

    Monday, December 23, 2013 9:29 AM

Answers