This call returns the system folders like 'Forms' which are not generally visible to the user. How to exclude the system folders from this result?

1 Answer 1


The following query demonstrates how to exclude system folders:

https://site/_api/Web/GetFolderByServerRelativeUrl('<folder url>')/Folders?$filter=ListItemAllFields ne null&$expand=ListItemAllFields

SP.Folder.listItemAllFields property is used to determine whether Folder is system or not since system folders are not associated with a List Item.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.