I am trying to retrieve report folders through Apex. I can get the Folder id but not its name. It is coming as null for standard report folders

List<folder> FolderList = [SELECT Id, Name FROM Folder WHERE Type ='Report'];

Can any body help me how to get name of Folder?


1 Answer 1


Standard report folders do not return Name by query. However, using Api call you can get all report folder names along with the report. See detailed explanation here. https://glazeforce.wordpress.com/2016/02/03/get-all-reports-along-with-their-folder-name-and-report-data/

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.