I'm trying to access the documents in a specific folder in a SharePoint document library. the library has multiple folders but I do know the name of the folder.
here is an example of the file tree (I want to access al the files inside the Folder_4:
I have this CAML query which will get me the folder but when I try Recursive or RecursiveAll I can never get more than just the folder to show up in the query. I believe I'm doing something wrong in the following query.
var camlQuery2 = "<View Scope='Recursive'>" + "<Query>" + "<OrderBy>" + "<FieldRef Name='Title' Ascending='True' />" + "</OrderBy>" + "<Where>" + "<Eq>" + "<FieldRef Name='Title'/>" + "<Value Type='Text'>" + "AppleTypes" + "</Value>" + "</Eq>" + "</Where>" + "</Query>" + "</View>";