function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Access Reports Metadata from Apex code


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

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.


This thread should help you.
Jeremy Kraybill
Austin, TX