# Report from script with parameter input

**URL:** <https://forum.inductiveautomation.com/t/report-from-script-with-parameter-input/77063>\
**Category:** Ignition\
**Created:** [July 28, 2023, 1:40pm UTC](https://forum.inductiveautomation.com/t/report-from-script-with-parameter-input/77063 "2023-07-28T13:40:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![t.cobbs](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@t.cobbs](https://forum.inductiveautomation.com/u/t.cobbs)\
**Post date:** [July 28, 2023, 1:40pm UTC](https://forum.inductiveautomation.com/t/report-from-script-with-parameter-input/77063/1 "2023-07-28T13:40:03Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 28, 2023, 1:44pm UTC](https://forum.inductiveautomation.com/t/report-from-script-with-parameter-input/77063/2 "2023-07-28T13:44:14Z")

</div>

Both [system.report.executeReport](https://docs.inductiveautomation.com/display/DOC81/system.report.executeReport) and [system.report.executeAndDistribute](https://docs.inductiveautomation.com/display/DOC81/system.report.executeAndDistribute) take a `parameters` dictionary. Did you try that?

---

<div class="post-metadata">

**Author:** ![t.cobbs](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@t.cobbs](https://forum.inductiveautomation.com/u/t.cobbs)\
**Post date:** [July 28, 2023, 1:45pm UTC](https://forum.inductiveautomation.com/t/report-from-script-with-parameter-input/77063/3 "2023-07-28T13:45:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![t.cobbs](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@t.cobbs](https://forum.inductiveautomation.com/u/t.cobbs)\
**Post date:** [July 28, 2023, 1:45pm UTC](https://forum.inductiveautomation.com/t/report-from-script-with-parameter-input/77063/4 "2023-07-28T13:45:54Z")

</div>

Well thats an easy solve, thank you!
