# Get Window Parameters without opening the window

**URL:** <https://forum.inductiveautomation.com/t/get-window-parameters-without-opening-the-window/17761>\
**Category:** Ignition\
**Created:** [April 18, 2018, 7:10pm UTC](https://forum.inductiveautomation.com/t/get-window-parameters-without-opening-the-window/17761 "2018-04-18T19:10:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [April 18, 2018, 7:10pm UTC](https://forum.inductiveautomation.com/t/get-window-parameters-without-opening-the-window/17761/1 "2018-04-18T19:10:00Z")

</div>

Hi all,  
Does anyone know of a function or script snippet to get the available parameters for a window WITHOUT opening the window?

---

<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:** [April 18, 2018, 8:07pm UTC](https://forum.inductiveautomation.com/t/get-window-parameters-without-opening-the-window/17761/2 "2018-04-18T20:07:38Z")

</div>

You have to deserialize it to query the root container’s dynamic properties, so, no.

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [April 18, 2018, 10:47pm UTC](https://forum.inductiveautomation.com/t/get-window-parameters-without-opening-the-window/17761/3 "2018-04-18T22:47:04Z")

</div>

Well damn.  
I figured there must be a way since the navigation wizard can access them without it open.  
Oh well, just will hard code window parameters to a table for now.  
Thanks!

---

<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:** [April 18, 2018, 11:16pm UTC](https://forum.inductiveautomation.com/t/get-window-parameters-without-opening-the-window/17761/4 "2018-04-18T23:16:59Z")

</div>

I don’t doubt that there are magic methods under the hood. /-:

---

<div class="post-metadata">

**Author:** ![Kyle\_Chase](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@Kyle\_Chase](https://forum.inductiveautomation.com/u/Kyle_Chase)\
**Post date:** [April 19, 2018, 3:06am UTC](https://forum.inductiveautomation.com/t/get-window-parameters-without-opening-the-window/17761/5 "2018-04-19T03:06:33Z")

</div>

Do you just need to know the names of the properties, or the initial value and type as well?

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [April 19, 2018, 11:35am UTC](https://forum.inductiveautomation.com/t/get-window-parameters-without-opening-the-window/17761/6 "2018-04-19T11:35:00Z")

</div>

Just the name.  
We have a database driven navigation system and I have a drop down list that shows all the window names.  
Was hoping to have the same for the available window parameters.

---

<div class="post-metadata">

**Author:** ![mrogers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrogers/32/4110_2.png) [@mrogers](https://forum.inductiveautomation.com/u/mrogers)\
**Post date:** [April 19, 2018, 3:18pm UTC](https://forum.inductiveautomation.com/t/get-window-parameters-without-opening-the-window/17761/7 "2018-04-19T15:18:06Z")

</div>

Take a look [here](http://nickmudge.info/post/drag-and-drop-Ignition-templates-on-the-template-canvas). In the “Templates” window of the project download, there is a script that might be interesting for you. You’ll have to mess around with it a bit but I think it could work. I think it can be done if you change it from getting templates to windows on line 18. Once its deserialized as ‘obj’ you might need to do some exploring to actually find what you’re looking for though.

Good luck and remember none of this stuff is actually supported so no guarantees it wont be broken at some point.
