# Perspective Excel download

**URL:** <https://forum.inductiveautomation.com/t/perspective-excel-download/103200>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 4, 2025, 11:48am UTC](https://forum.inductiveautomation.com/t/perspective-excel-download/103200 "2025-03-04T11:48:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tokyo\_mht](https://avatars.discourse-cdn.com/v4/letter/t/c37758/32.png) [@Tokyo\_mht](https://forum.inductiveautomation.com/u/Tokyo_mht)\
**Post date:** [March 4, 2025, 11:48am UTC](https://forum.inductiveautomation.com/t/perspective-excel-download/103200/1 "2025-03-04T11:48:49Z")

</div>

Hi , I have created a file resource named **'abc.xlsx'** and datatype as **''application/vnd.openxmlformats-officedocument.spreadsheetml.sheet "** in Webdev. launching this resource directly it will download excel file.  
However ,I need to trigger this download via button click in a perspective view.  
How can I achieve this?

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [March 4, 2025, 3:14pm UTC](https://forum.inductiveautomation.com/t/perspective-excel-download/103200/2 "2025-03-04T15:14:29Z")

</div>

If you want that file specifically as stored you can use `system.perspective.navigate(url="http://127.0.0.1:8088/system/webdev/Project_Name/abc.xlsx")`

it will automatically download it to your downloads folder.

You can use httpGet as well if you have a template and want to rename/edit the contents in some way.

> [@Import one Excel template in Web Dev and for on click on download that in Perspective](https://forum.inductiveautomation.com/t/import-one-excel-template-in-web-dev-and-for-on-click-on-download-that-in-perspective/100788/4):
>
> Sorry for the delayed response. Please try and reply by hitting the reply button under the post you are responding to so they get notified. I think you would just need to do an httpGet of the filepath and then convert that to a bytearray for the system.perspective.download to function properly.

---

<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:** [March 4, 2025, 3:21pm UTC](https://forum.inductiveautomation.com/t/perspective-excel-download/103200/3 "2025-03-04T15:21:48Z")

</div>

You could also use `system.perspective.download()` in a button's `actionPerformed` event script. If you **only** need the file to be available this way, then you do not need WebDev at all.
