I am trying to retrive all items that are under a certin folder, in a document library.
this is what i have so far
List DocumentsList = clientContext.Web.Lists.GetByTitle(list);
CamlQuery camlQuery = new CamlQuery();
camlQuery = new CamlQuery();
camlQuery.ViewXml = @"<View Scope='Recursive'>
<Query>
<Where>
<eq>
<FieldRef Name='FileDirRef'/>
<Value Type='Text'>
/ecm/Business/Business/Projects/IDECO_P01030000
</Value>
</eq>
</Where>
</Query>
<RowLimit Paged='TRUE'> 30 </RowLimit>
</View>";
ListItemCollection listItems = DocumentsList.GetItems(camlQuery);
clientContext.Load(listItems);
clientContext.ExecuteQuery();
it is definately a caml query problem i am just unsure of how to fix it as yet any ideas would be helpfull
