Using Files, is that possible? I've tried:

SELECT Id, (SELECT Id FROM ContentVersions) FROM ContentFolder

SELECT Id, (SELECT Id FROM ContentDocuments) FROM ContentFolder

SELECT Id, (SELECT Id FROM ContentDocumentLinks) FROM ContentFolder

and these queries do not work.

SELECT Id, Title, FileExtension FROM ContentFolderItem WHERE ParentContentFolderId IN (SELECT Id FROM ContentFolder WHERE Name = 'Folder Name')

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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