Loop through all the folders in document library and fetch checked out files by specific user only
2
-
1Have you tried the userID instead of the userName? – Danny '365CSI' Engelman Apr 20 '17 at 7:42
-
Danny is right you just need $user.Id – Bunzab Apr 20 '17 at 8:10
Add a comment
|
<Where>
<Eq>
<FieldRef Name="CheckoutUser" LookupId="True" />
<Value Type="Integer">USERID</Value>
</Eq>
</Where>
Use the above where clause to find the checked out file by a specific user and replace "USERID" with that user's id.
-
-
You can use camljs.codeplex.com link for creating a CAML query. It shows how one can create CAML query using CamlJs-Console which is a Chrome extension. – Divya Sharma Apr 21 '17 at 4:19