I need help writing a CAML. Unfortunately, I have little experience with this and can't seem to formulate a query that works.
I'm trying to show a library that is within another document library. I have document library (1) selected but need the document library (2) within the query to only show those docs. I have this:
<Query>
<Where>
<FieldRef Name= 'documentlibrary(2)'>
</FieldRef>
</Where>
</Query>
I also need the query to only show 6 items of the folder and the most recent.