# How to find components on other winddows/ template for the scripting

**URL:** <https://forum.inductiveautomation.com/t/how-to-find-components-on-other-winddows-template-for-the-scripting/58400>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 13, 2022, 5:27am UTC](https://forum.inductiveautomation.com/t/how-to-find-components-on-other-winddows-template-for-the-scripting/58400 "2022-04-13T05:27:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anuradha.upase](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@anuradha.upase](https://forum.inductiveautomation.com/u/anuradha.upase)\
**Post date:** [April 13, 2022, 5:27am UTC](https://forum.inductiveautomation.com/t/how-to-find-components-on-other-winddows-template-for-the-scripting/58400/1 "2022-04-13T05:27:37Z")

</div>

I have create one template containing numeric fields and I have used that template on the multiple screen, but I want to show some value from the table on that numeric fields.

Generally when we used simple numeric field we have written expression as follow:

**try({Root Container.Method\_Table.data}[{Root Container.Method\_Table.selectedRow}, “ColumnID”], “”)**

So how can we write same expression w.r.t. template

---

<div class="post-metadata">

**Author:** ![iscrac](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/iscrac/32/49757_2.png) [@iscrac](https://forum.inductiveautomation.com/u/iscrac)\
**Post date:** [April 13, 2022, 5:56am UTC](https://forum.inductiveautomation.com/t/how-to-find-components-on-other-winddows-template-for-the-scripting/58400/2 "2022-04-13T05:56:18Z")

</div>

As I understand, You have to just connect the value of the numeric field to the template parameters, and put the value from Table to this template parameter

To template Properties (I renamed it as **TableValue** )

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/f/4f4fbf9f5a270ddbcbcf9935b6f5312c9d42a1de.png)

To template’s numeric filed (I connected **TableValue** )

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/5/c557069e0aa71629243663de2e14bcaa64e8fbc8.png)

Result

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/d/5d492f67b9920e47771241bd544251ee5706fda4.png)
