# Export to Excel feature on a header in Perspective

**URL:** <https://forum.inductiveautomation.com/t/export-to-excel-feature-on-a-header-in-perspective/45601>\
**Category:** Ignition\
**Created:** [April 14, 2021, 4:52pm UTC](https://forum.inductiveautomation.com/t/export-to-excel-feature-on-a-header-in-perspective/45601 "2021-04-14T16:52:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dholt](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dholt/32/4458_2.png) [@dholt](https://forum.inductiveautomation.com/u/dholt)\
**Post date:** [April 14, 2021, 4:52pm UTC](https://forum.inductiveautomation.com/t/export-to-excel-feature-on-a-header-in-perspective/45601/1 "2021-04-14T16:52:21Z")

</div>

Hello all! I’m trying to work something out to have a feature on the header that is applied on all perspective windows to read if the current view has a param called “exportData”. If that param is there I plan to have an export to CSV icon become available on the param’s dataset, and if not then I’ll just hide the icon. My problem is I’m not entirely sure how to have the header read the currently active view that is beneath it.

Once I cross that bridge I should be ok, but can someone help me out, am I missing something under “system.” ?

---

<div class="post-metadata">

**Author:** ![ryanjmclaughlin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryanjmclaughlin/32/4318_2.png) [@ryanjmclaughlin](https://forum.inductiveautomation.com/u/ryanjmclaughlin)\
**Post date:** [April 14, 2021, 5:54pm UTC](https://forum.inductiveautomation.com/t/export-to-excel-feature-on-a-header-in-perspective/45601/2 "2021-04-14T17:54:25Z")

</div>

Can you post some more details/example code of where you are getting stuck? Are you doing this with an embedded view?

You’ll most likely be using the `system.dataset.to*` functions to convert `props.data` to something you can export. But keep in mind, Perspective is a bit trickier as you can have multiple data formats (dataset or object) in `props.data` so you need to deal with the data conversion.
