# Send Report Viewer

**URL:** <https://forum.inductiveautomation.com/t/send-report-viewer/8319>\
**Category:** Ignition\
**Created:** [April 16, 2014, 8:19am UTC](https://forum.inductiveautomation.com/t/send-report-viewer/8319 "2014-04-16T08:19:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nadya](https://avatars.discourse-cdn.com/v4/letter/n/ecb155/32.png) [@Nadya](https://forum.inductiveautomation.com/u/Nadya)\
**Post date:** [April 16, 2014, 8:19am UTC](https://forum.inductiveautomation.com/t/send-report-viewer/8319/1 "2014-04-16T08:19:50Z")

</div>

Hello,

I want send a report viewer by mail each 2 hours  
I create a script in a Script Module. No problem to execute this but when I create a timer script in Event Script (Gateway) I met a problem with function gui and I can’t find other function to replace it.  
And I don’t want open Client on the server.  
Thank you for your help

Nadya

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [April 16, 2014, 11:01am UTC](https://forum.inductiveautomation.com/t/send-report-viewer/8319/2 "2014-04-16T11:01:17Z")

</div>

you wont be able to do this without a client open, at least not the way you are doing it with the reporting module. you could probably build a dataset that looks similar to what you have in the report viewer component thru scripting and then email that out.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [April 16, 2014, 4:38pm UTC](https://forum.inductiveautomation.com/t/send-report-viewer/8319/3 "2014-04-16T16:38:11Z")

</div>

The only way to accomplish this is to have an open client on the server.

This topic has been covered a few times in the forum. Here is a good read on the topic  
[viewtopic.php?f=70&t=8851](http://www.inductiveautomation.com/forum/viewtopic.php?f=70&t=8851)

---

<div class="post-metadata">

**Author:** ![Nadya](https://avatars.discourse-cdn.com/v4/letter/n/ecb155/32.png) [@Nadya](https://forum.inductiveautomation.com/u/Nadya)\
**Post date:** [April 17, 2014, 7:46am UTC](https://forum.inductiveautomation.com/t/send-report-viewer/8319/4 "2014-04-17T07:46:58Z")

</div>

Thank you for your information.  
I know that in this case its works, but I would like generate the document automatically : no event, no client

Tks  
Nadya

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [April 17, 2014, 8:54pm UTC](https://forum.inductiveautomation.com/t/send-report-viewer/8319/5 "2014-04-17T20:54:46Z")

</div>

Unfortunately you currently need to have an open client, no way around that.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [April 17, 2014, 10:56pm UTC](https://forum.inductiveautomation.com/t/send-report-viewer/8319/6 "2014-04-17T22:56:06Z")

</div>

your report is so basic that you should easily be able to create a dataset that nearly matches the screenshot that you attached, and then email it.

here is a post by nmudge that may help you on how to take the dataset, convert to excel, and then send it via email.

[viewtopic.php?f=70&t=11559&p=41445&hilit=email+dataset#p41445](http://www.inductiveautomation.com/forum/viewtopic.php?f=70&t=11559&p=41445&hilit=email+dataset#p41445)

---

<div class="post-metadata">

**Author:** ![nmudge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nmudge/32/3394_2.png) [@nmudge](https://forum.inductiveautomation.com/u/nmudge)\
**Post date:** [April 18, 2014, 4:04am UTC](https://forum.inductiveautomation.com/t/send-report-viewer/8319/7 "2014-04-18T04:04:58Z")

</div>

Wow. diat150’s solution is brilliant.
