# Root Container for template object on another screen

**URL:** <https://forum.inductiveautomation.com/t/root-container-for-template-object-on-another-screen/59487>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [May 12, 2022, 6:23am UTC](https://forum.inductiveautomation.com/t/root-container-for-template-object-on-another-screen/59487 "2022-05-12T06:23:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shivani\_Shete](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@Shivani\_Shete](https://forum.inductiveautomation.com/u/Shivani_Shete)\
**Post date:** [May 12, 2022, 6:23am UTC](https://forum.inductiveautomation.com/t/root-container-for-template-object-on-another-screen/59487/1 "2022-05-12T06:23:47Z")

</div>

Hello,

By Using Following method we can use particular object detail in the scripting  
“event.source.parent.getComponent(‘NAME’).text”  
so it is working fine now, but if i am using template object on another screen, so how can we mention this template object detail like root container in the scripting of that another screen.

is there any solution ?

---

<div class="post-metadata">

**Author:** ![hayden](https://avatars.discourse-cdn.com/v4/letter/h/91b2a8/32.png) [@hayden](https://forum.inductiveautomation.com/u/hayden)\
**Post date:** [May 12, 2022, 6:46am UTC](https://forum.inductiveautomation.com/t/root-container-for-template-object-on-another-screen/59487/2 "2022-05-12T06:46:24Z")

</div>

If you’re using the text from a component and want that used in scripting via an embedded view, you could set that text as a parameter on the template and reference the parameter in scripting
