# Window Navigation on a template

**URL:** <https://forum.inductiveautomation.com/t/window-navigation-on-a-template/23897>\
**Category:** Ignition\
**Created:** [April 6, 2019, 1:13pm UTC](https://forum.inductiveautomation.com/t/window-navigation-on-a-template/23897 "2019-04-06T13:13:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jshaffer09](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jshaffer09](https://forum.inductiveautomation.com/u/jshaffer09)\
**Post date:** [April 6, 2019, 1:13pm UTC](https://forum.inductiveautomation.com/t/window-navigation-on-a-template/23897/1 "2019-04-06T13:13:13Z")

</div>

I am using the script below for a mouse click script on a LED Display, I have a custom property named WindowPath. But I get an error saying the window doesn’t exist.

```auto
window = system.nav.openWindow(event.source.parent.WindowPath)
system.nav.centerWindow(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 6, 2019, 3:43pm UTC](https://forum.inductiveautomation.com/t/window-navigation-on-a-template/23897/2 "2019-04-06T15:43:17Z")

</div>

Try printing `event.source.parent.WindowPath`.

---

<div class="post-metadata">

**Author:** ![jshaffer09](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jshaffer09](https://forum.inductiveautomation.com/u/jshaffer09)\
**Post date:** [April 6, 2019, 3:57pm UTC](https://forum.inductiveautomation.com/t/window-navigation-on-a-template/23897/3 "2019-04-06T15:57:37Z")

</div>

I changed the custom property name and it worked?!

```auto
window = system.nav.openWindow(event.source.parent.Path)
system.nav.centerWindow(window)

```
