+ Start a Discussion
rohit.mehtarohit.mehta 

Access Reports Metadata from Apex code

Hi,

I want to able to retrieve the Id for a Custom Report by name. I have the name of the report and also the folder name of where the report is saved.

Basically what I want to do is


Code:
Select Id from Report where name = 'MyReportName';

Since the Report object is not available I am not able to do the above query.

I also have an option of calling it from a SControl.

Thanks,
Rohit


JeremyKraybillJeremyKraybill
This thread should help you.
 
Jeremy Kraybill
Austin, TX