# Custom Template T1 -\> Template Canvas TC1 -\> Custom Template T3: how get T1 from T3

**URL:** <https://forum.inductiveautomation.com/t/custom-template-t1-template-canvas-tc1-custom-template-t3-how-get-t1-from-t3/37211>\
**Category:** Ignition\
**Created:** [July 30, 2020, 8:14am UTC](https://forum.inductiveautomation.com/t/custom-template-t1-template-canvas-tc1-custom-template-t3-how-get-t1-from-t3/37211 "2020-07-30T08:14:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deforder](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@deforder](https://forum.inductiveautomation.com/u/deforder)\
**Post date:** [July 30, 2020, 8:14am UTC](https://forum.inductiveautomation.com/t/custom-template-t1-template-canvas-tc1-custom-template-t3-how-get-t1-from-t3/37211/1 "2020-07-30T08:14:44Z")

</div>

I have a custom template. Let it be called T1.  
It can be used on different windows in containers with different paths

inside T1 there is a template canvas TC1

Inside the canvas there is a template T3

What is the best way to access the parameters and functions of the template T1 from the template T3?

As far as I understand, the .parent link does not work for the transition from T3 to CT1  
I can access the root container of the current window, but the path to the T1 template inside this window is not known beforehand

---

<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:** [July 30, 2020, 11:42am UTC](https://forum.inductiveautomation.com/t/custom-template-t1-template-canvas-tc1-custom-template-t3-how-get-t1-from-t3/37211/2 "2020-07-30T11:42:41Z")

</div>

Use more than one `.parent` dereference. There is more than one Swing layer in between.
