# Report Save Function Issue

**URL:** <https://forum.inductiveautomation.com/t/report-save-function-issue/72941>\
**Category:** General Discussion\
**Created:** [April 26, 2023, 7:54pm UTC](https://forum.inductiveautomation.com/t/report-save-function-issue/72941 "2023-04-26T19:54:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhbauss](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@hhbauss](https://forum.inductiveautomation.com/u/hhbauss)\
**Post date:** [April 26, 2023, 7:54pm UTC](https://forum.inductiveautomation.com/t/report-save-function-issue/72941/1 "2023-04-26T19:54:26Z")

</div>

When I type in the 'settings' parameters following the example in the manual to save a report:

```auto
# Executes and distributes the report to save a PDF
settings = {"path":"C:\\Ignition Reports", "fileName":"Report.pdf", "format":"pdf"}
system.report.executeAndDistribute(path="My Report Path", project="My Project", action="save", actionSettings=settings)

```

The filename always is saved with the filename ex."04-26-23 12PM" as a pdf (expected). My question is, why does it not use the filename I entered? In this case, if I used the above example code and replaced the 'Report.pdf' with my own name, it still shows just the date. Plus it overwrites the previous file if I have saved it within the same hour.

Help? What am I missing?

---

<div class="post-metadata">

**Author:** ![stevenson](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@stevenson](https://forum.inductiveautomation.com/u/stevenson)\
**Post date:** [April 27, 2023, 12:08am UTC](https://forum.inductiveautomation.com/t/report-save-function-issue/72941/2 "2023-04-27T00:08:33Z")

</div>

What Ignition version? I couldn't reproduce on my 8.1.25 instance.

---

<div class="post-metadata">

**Author:** ![hhbauss](https://avatars.discourse-cdn.com/v4/letter/h/ecae2f/32.png) [@hhbauss](https://forum.inductiveautomation.com/u/hhbauss)\
**Post date:** [April 27, 2023, 12:34pm UTC](https://forum.inductiveautomation.com/t/report-save-function-issue/72941/3 "2023-04-27T12:34:58Z")

</div>

Too much time staring at code today...missed an easy one. I messed up with the "fileName" part. I did not capitalize the 'N' in 'filename'.

Sometimes something so obvious just escapes me...DOH!

Solved and embarrassed.

---

<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:** [April 27, 2023, 12:50pm UTC](https://forum.inductiveautomation.com/t/report-save-function-issue/72941/4 "2023-04-27T12:50:50Z")

</div>

> [@hhbauss](#):
>
> embarrassed

No need. Typos are an unfortunate part of every programmer's life. 🤷‍♂️
