# Report Viewer Parameter lookup

**URL:** <https://forum.inductiveautomation.com/t/report-viewer-parameter-lookup/53209>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [November 17, 2021, 9:25pm UTC](https://forum.inductiveautomation.com/t/report-viewer-parameter-lookup/53209 "2021-11-17T21:25:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael.ruel](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@michael.ruel](https://forum.inductiveautomation.com/u/michael.ruel)\
**Post date:** [November 17, 2021, 9:25pm UTC](https://forum.inductiveautomation.com/t/report-viewer-parameter-lookup/53209/1 "2021-11-17T21:25:02Z")

</div>

We have a report viewer that is used to switch between different reports. Right now the window is setup to just show 2 different report viewers and we are wanting to just use 1 viewer and switch the path dynamically. This is no problem. The problem is that each report is expecting a parameter which kicks off the query for the report. My question is: Is there a way to get the parameter name from the Report viewer so we can load the required info into the parameter once that parameter exists? Thanks.

---

<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:** [November 17, 2021, 9:55pm UTC](https://forum.inductiveautomation.com/t/report-viewer-parameter-lookup/53209/2 "2021-11-17T21:55:56Z")

</div>

`[property.name for property in reportViewer.properties]` should give you all the names, given `reportViewer` as a reference to some report viewer component.

---

<div class="post-metadata">

**Author:** ![michael.ruel](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@michael.ruel](https://forum.inductiveautomation.com/u/michael.ruel)\
**Post date:** [November 17, 2021, 10:34pm UTC](https://forum.inductiveautomation.com/t/report-viewer-parameter-lookup/53209/3 "2021-11-17T22:34:54Z")

</div>

Thanks I’ll give it a shot. Does the “x.properties” apply to any component?

---

<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:** [November 17, 2021, 10:50pm UTC](https://forum.inductiveautomation.com/t/report-viewer-parameter-lookup/53209/4 "2021-11-17T22:50:25Z")

</div>

Basically, yes, anything that supports custom properties will support `getProperties()`/`.properties`:  
[https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.11/com/inductiveautomation/factorypmi/application/binding/DynamicPropertyProvider.html](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.11/com/inductiveautomation/factorypmi/application/binding/DynamicPropertyProvider.html)  
[https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.11/com/inductiveautomation/vision/api/client/components/model/AbstractVisionPanel.html](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.11/com/inductiveautomation/vision/api/client/components/model/AbstractVisionPanel.html)
