Activity › Forums › Salesforce® Discussions › Can We Mass Delete Reports Using Apex (anonymous Apex)?
-
Can We Mass Delete Reports Using Apex (anonymous Apex)?
Posted by Anjali on September 11, 2018 at 1:48 PMCan We Mass Delete Reports Using Apex (anonymous Apex)?
Parul replied 7 years, 9 months ago 5 Members · 4 Replies -
4 Replies
-
Hi ,
We can not mass delete reports using Anonymous Apex but it can be possible by using following step:
In Setup, under Data Management | Mass Delete Records, select Mass Delete Reports and configure a filter to find reports that need to be deleted.
Thanks
- [adinserter block='9']
-
Hi Anjali,
As of now, no such functionality exists in Salesforce.
-
Hi,
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.
Hope this helps!
-
Hi
Salesforce has not exposed any API for Reports so We Mass Delete Reports by moving all reports to in new folder and then import your reports folder in Eclipse including all reports to be deleted and then delete the reports folder in eclipse. It will delete all the reports at once.
Thanks
Log In to reply.