Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Creates a query that can be used to recursively get all of the folders in a list.
var value = SP.CamlQuery.createAllFoldersQuery();
Return Value
Type: SP.CamlQuery
A query that can be used to get all of the folders in a list.
Remarks
This method creates a Collaborative Application Markup Language (CAML) string that can be used to recursively get all of the folders in a list, including the subfolders.