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
George Laird 55George Laird 55 

Link to download report with filter

Hello All,

I've seen a few posts on this but nothing works so here goes....

I want to create a button from a record page that will filter the report based on the record ID where the button is, and automatically download it to .csv or .xls

I've created the button and before even attempting the filter, I just tried to get it to download but it's not working.  It loads the report but does not start download. 

Does anyone know how to do this?

User-added image

 
PriyaPriya (Salesforce Developers) 

Hi George,

Check this that matches your requirement :-

https://salesforce.stackexchange.com/questions/13602/custom-link-to-download-export-report-in-single-click

Please mark it as best answer.

Regards,

Priya Ranjan

George Laird 47George Laird 47
@Priya Ranjan, that approach is not working for me.  Were you able to get that to work?