# Template path

**URL:** <https://forum.inductiveautomation.com/t/template-path/9188>\
**Category:** General Discussion\
**Created:** [October 17, 2014, 12:39pm UTC](https://forum.inductiveautomation.com/t/template-path/9188 "2014-10-17T12:39:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pstojakovic](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@pstojakovic](https://forum.inductiveautomation.com/u/pstojakovic)\
**Post date:** [October 17, 2014, 12:39pm UTC](https://forum.inductiveautomation.com/t/template-path/9188/1 "2014-10-17T12:39:20Z")

</div>

Is it possible to navigate to a template using its path property on a button, for example? I want to click a button and template called Tank\_Stats shows up on a window…something like that.

Thanks.

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [October 17, 2014, 2:46pm UTC](https://forum.inductiveautomation.com/t/template-path/9188/2 "2014-10-17T14:46:54Z")

</div>

Just modify the tempaltePath property from the button.

```auto
event.source.parent.getComponent('myTemplate').templatePath = "Tank_Stats"
```
