Skip to main content

Is it possible to clear the reports and dashboards cache with Apex classes?

What are the possible ways to clear only reports and dashboards cache?

1 件の回答
  1. 2017年11月20日 4:43
    Hi Nikhil ,

     

    Try clearing Recycle bin Because ,

     

    Data you’ve deleted still gets queried when you run a report, unless you’ve permanently removed it by emptying the recycle bin. If you’ve been actively pruning your data, that’s great, but your users won’t get the full benefit until you clear the recycle bin.

     

    You need to clear browser cache . 

     

    You can try this Methood to clear platform Cache . but do it when you require it .

     

    https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_platform_cache_best_practices.htm

     

    Best Regards 

     

    David Hales (1005)
0/9000