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
Sridhar BonagiriSridhar Bonagiri 

How to find out the Report Id

Hi All,


How can I find out Id of a particular report , which is created from a custom report type.





from the link
Sridhar BonagiriSridhar Bonagiri

Thanks for the reply,


I want to find out the report id through apex code, which i want to use it somewhere.







Report  should be under Document object but Im not sure whether salesforce open the access for us or not.

Ivan VrtacnikIvan Vrtacnik
SELECT  Id,  DeveloperName FROM Report WHERE DeveloperName = 'Name' LIMIT 1