I keep forgetting this, so here's a little note for me:
"<View Scope='RecursiveAll'><Query><Where><Eq><FieldRef Name='Author'/><Value Type='Integer'><UserID/></Value></Eq></Where><OrderBy><FieldRef Name='Created' Ascending='False' /></OrderBy></Query><RowLimit>1</RowLimit></View>"
There you have it... A valid usage of RowLimit within a CAML Query.
No comments:
Post a Comment