Report from script with parameter input

I am trying to send a report out on a button click, but I need to be able to apply a parameter value that is very key to the report. How can I do this? If I can't directly do it through one of the pre-built methods is there a way I could do it in a round about way.

Thank you,

Both system.report.executeReport and system.report.executeAndDistribute take a parameters dictionary. Did you try that?

I did not notice it allowed for report parameters to be put in.

Well thats an easy solve, thank you!

1 Like