How to list all Folders within a root folder SSRS 2008 R2
Hello All
I need to determine all the names of the folders, that are not hidden, within a folder on SSRS 2008 R2 and return the list to an html grid. I am using ListChildren but I return folder names, rdl names and data source files. Is there a way to determine the
type of file? I found CreateFolders in the web service but there is no ListFolders. I am using C#, MVC 3, SSRS 2008 R2
Thanks for your help!
August 1st, 2012 9:27pm
Hi Anthony,
Here is an example similar to your requirement.
http://stackoverflow.com/questions/7754210/c-sharp-list-all-folders-on-a-sql-reporting-server-using-reportingservices
Regards
Vinaya
Free Windows Admin Tool Kit Click here and download it now
August 1st, 2012 10:01pm
Hi Vinaya
Thanks for the reply. Seems in 2008 this statement is no longer supported
report.Type == ItemTypeEnum.Folder
I did find ItemType but no Folder
August 1st, 2012 10:12pm
Hi Tony,
You can try and use the 2005 namespace to use this Enumerator
Refer to it as --> Microsoft.SqlServer.ReportingServices2005.ItemTypeEnum.Folder
Regards,
Vinaya
Free Windows Admin Tool Kit Click here and download it now
August 1st, 2012 10:53pm