Root Container for template object on another screen


By Using Following method we can use particular object detail in the scripting
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 ?

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