Tuesday, January 28, 2014

Can we mass delete reports using Apex (Anonymous Apex)

Can we mass delete reports using Apex (Anonymous Apex)

Salesforce has not exposed any API for Reports. So best way is :

Move all reports needs to delete in new folder.
Inform everyone that reports will be deleted after some time may be 30 days.
Import your reports folder in Eclipse including all reports to be deleted and then delete the the reports folder in eclipse. It will delete all the reports at once.
  

No comments:

Post a Comment