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
ANITHA BEEMU 2ANITHA BEEMU 2 

is there any way to know when the report is opened and how many types those are seeing in salesforce

is there any way to know when the report is opened and how many types those are seeing in salesforce
Khan AnasKhan Anas (Salesforce Developers) 
Hi Anitha,

Greetings to you!

This query will give you the information on when the report was last viewed and when it was last run.
 
SELECT Id, Name, LastViewedDate, LastRunDate FROM Report WHERE Id = 'XXXXX00000XXXXX'

Replace the Id by our Report Id.

If you want to know which report has been accessed by a specific user, then you can Event Log Files. Also, you will need to use Event Monitoring Product which will generate log files on when a user has downloaded a report and this is an add-on product which you will need to buy.

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks and Regards,
Khan Anas
Raj VakatiRaj Vakati
You can't do it directly ..  you can get only the LastViewedDate and LastRunDate  etc from the SOQL which may not solve your problem ...