# View Ignition Report from Different Gateway

**URL:** <https://forum.inductiveautomation.com/t/view-ignition-report-from-different-gateway/43084>\
**Category:** Ignition\
**Created:** [February 5, 2021, 8:04pm UTC](https://forum.inductiveautomation.com/t/view-ignition-report-from-different-gateway/43084 "2021-02-05T20:04:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [February 5, 2021, 8:04pm UTC](https://forum.inductiveautomation.com/t/view-ignition-report-from-different-gateway/43084/1 "2021-02-05T20:04:37Z")

</div>

Is it possible to have an Ignition report on one gateway using the reporting module be viewed from a project on a second gateway with or without the reporting module?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 5, 2021, 8:08pm UTC](https://forum.inductiveautomation.com/t/view-ignition-report-from-different-gateway/43084/2 "2021-02-05T20:08:32Z")

</div>

You could use [`system.util.sendRequest()`](https://docs.inductiveautomation.com/display/DOC81/system.util.sendRequest) to trigger a message handler on the gateway that has the report, which then uses [`system.report.executeReport()`](https://docs.inductiveautomation.com/display/DOC81/system.report.executeReport) to build the report and return the binary data.

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [February 5, 2021, 10:01pm UTC](https://forum.inductiveautomation.com/t/view-ignition-report-from-different-gateway/43084/3 "2021-02-05T22:01:07Z")

</div>

Thanks. Seems to work. My report server is a redundant pair. How do I specify the remoteServer in system.util.sendRequest() so that it will hit the backup gateway when the master gateway is down?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 5, 2021, 10:09pm UTC](https://forum.inductiveautomation.com/t/view-ignition-report-from-different-gateway/43084/4 "2021-02-05T22:09:41Z")

</div>

You shouldn’t have to, if I remember correctly. Since you just specify the gateway name, your gateway should automatically route to the backup if the master is down.

---

<div class="post-metadata">

**Author:** ![JMicky](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JMicky](https://forum.inductiveautomation.com/u/JMicky)\
**Post date:** [April 16, 2021, 3:05pm UTC](https://forum.inductiveautomation.com/t/view-ignition-report-from-different-gateway/43084/5 "2021-04-16T15:05:10Z")

</div>

@paul-griffith HI Paul, I had a follow up on this topic. Is the Report Viewer component able to display the returned binary data or is the intention to save it to a file and use the PDF Viewer to display the report?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 16, 2021, 4:42pm UTC](https://forum.inductiveautomation.com/t/view-ignition-report-from-different-gateway/43084/6 "2021-04-16T16:42:53Z")

</div>

The (Vision) Report Viewer doesn’t directly support rendering bytes; you would have to use the PDF viewer for display.  
Perspective is a different kettle of fish; you would have to ‘host’ the bytes somewhere (ideally, through a Webdev endpoint) and return them on a real HTTP request to display in Perspective’s PDF viewer.

---

<div class="post-metadata">

**Author:** ![JMicky](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JMicky](https://forum.inductiveautomation.com/u/JMicky)\
**Post date:** [April 16, 2021, 4:46pm UTC](https://forum.inductiveautomation.com/t/view-ignition-report-from-different-gateway/43084/7 "2021-04-16T16:46:44Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![petr.sasin](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@petr.sasin](https://forum.inductiveautomation.com/u/petr.sasin)\
**Post date:** [June 27, 2024, 9:54am UTC](https://forum.inductiveautomation.com/t/view-ignition-report-from-different-gateway/43084/8 "2024-06-27T09:54:08Z")

</div>

I have exactly same case. I already have message handler on Gateway with report and it returns Byte array. This Byte array i can see on recepient Gateway, but i can't figure out how to display this byte array in Perspective Report Viewer.  
Can You help me with this?

---

<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:** [June 27, 2024, 11:59am UTC](https://forum.inductiveautomation.com/t/view-ignition-report-from-different-gateway/43084/9 "2024-06-27T11:59:07Z")

</div>

1. You need the PDF Viewer for the bytes, not the Report Viewer.

2. You need to expose the bytes via URL. Typically this is done with the WebDev module. If you have a database where you can stash your bytes as blobs, you could use my Blob Server module (free).
