# Easy chart - change filename on "Save data for excel"

**URL:** <https://forum.inductiveautomation.com/t/easy-chart-change-filename-on-save-data-for-excel/7771>\
**Category:** Ignition\
**Created:** [December 30, 2013, 9:04pm UTC](https://forum.inductiveautomation.com/t/easy-chart-change-filename-on-save-data-for-excel/7771 "2013-12-30T21:04:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manuel](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@Manuel](https://forum.inductiveautomation.com/u/Manuel)\
**Post date:** [December 30, 2013, 9:04pm UTC](https://forum.inductiveautomation.com/t/easy-chart-change-filename-on-save-data-for-excel/7771/1 "2013-12-30T21:04:49Z")

</div>

Hi Guys,

Do you know if there is any way to change the filename in the option “Save data from excel” on easy charts ? We have many charts in our project and it would be really helpful for the clients.

Thanks  
Manuel

---

<div class="post-metadata">

**Author:** ![anna](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@anna](https://forum.inductiveautomation.com/u/anna)\
**Post date:** [December 30, 2013, 10:04pm UTC](https://forum.inductiveautomation.com/t/easy-chart-change-filename-on-save-data-for-excel/7771/2 "2013-12-30T22:04:19Z")

</div>

Clicking on the “Save” icon should call a dialog box what gives you option to name your file.  
Are you not getting the dialog box?  
Are you unable to type a different file name in the prompt?  
Are you using some custom scripting to save the file?

---

<div class="post-metadata">

**Author:** ![Manuel](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@Manuel](https://forum.inductiveautomation.com/u/Manuel)\
**Post date:** [December 31, 2013, 7:55pm UTC](https://forum.inductiveautomation.com/t/easy-chart-change-filename-on-save-data-for-excel/7771/3 "2013-12-31T19:55:04Z")

</div>

Hi anna,

I do get the dialog box but what I want is is automatically customize the file name for each chart. I want to change the file from Chart.xls to any\_given\_name.xls.  
I’m able to type a different name but I want to automatically show a different name for each chart.  
I’m using the build-in button to save the file.

The background for this request is that we have graphs for different equipments and we want to provide a more friendly user interface for the scada operators, they could change the filenames before save it but if it’s possible I’d would like to customize them.

Regards  
Manuel

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [January 2, 2014, 3:57pm UTC](https://forum.inductiveautomation.com/t/easy-chart-change-filename-on-save-data-for-excel/7771/4 "2014-01-02T15:57:44Z")

</div>

The built-in button has the name hard coded. You would need to make your own button and script to change the name.

---

<div class="post-metadata">

**Author:** ![Yang](https://avatars.discourse-cdn.com/v4/letter/y/77aa72/32.png) [@Yang](https://forum.inductiveautomation.com/u/Yang)\
**Post date:** [February 12, 2014, 7:12am UTC](https://forum.inductiveautomation.com/t/easy-chart-change-filename-on-save-data-for-excel/7771/5 "2014-02-12T07:12:37Z")

</div>

so for our button, if we want the same function with the save button in easy chart, how to write the script. may i know the script ?

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [February 12, 2014, 3:28pm UTC](https://forum.inductiveautomation.com/t/easy-chart-change-filename-on-save-data-for-excel/7771/6 "2014-02-12T15:28:07Z")

</div>

[system.dataset.exportExcel()](http://www.inductiveautomation.com/support/usermanuals/ignition/index.html?system_dataset_exportexcel.htm) should do what you want.
