# Passing a custom template parameter to the same parameter on a pop-up window

**URL:** <https://forum.inductiveautomation.com/t/passing-a-custom-template-parameter-to-the-same-parameter-on-a-pop-up-window/81890>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [November 14, 2023, 8:13pm UTC](https://forum.inductiveautomation.com/t/passing-a-custom-template-parameter-to-the-same-parameter-on-a-pop-up-window/81890 "2023-11-14T20:13:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brians.laptop](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brians.laptop/32/27906_2.png) [@brians.laptop](https://forum.inductiveautomation.com/u/brians.laptop)\
**Post date:** [November 14, 2023, 8:13pm UTC](https://forum.inductiveautomation.com/t/passing-a-custom-template-parameter-to-the-same-parameter-on-a-pop-up-window/81890/1 "2023-11-14T20:13:35Z")

</div>

I'm putting together control for multi-zone temperature control using a Zone Template. I have indirect addressing, using a template parameter 'string' called "Zone". All the zone parameters are in the same AOI data type in Studio 5000, so indirect addressing is working great.

I have a "basic" template screen that's visible on the main page, but I'd like to open a pop-up window and pass the "Zone" string to the custom parameter used on another template placed on that pop-up window. This pop-up has all the "details" of the zone. I can't quite figure out the strategy to do this. I'm guessing it's in scripting, but I'm striking out so far. I'm sure this is a pretty basic action, can you help me understand how to do it?

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [November 14, 2023, 8:23pm UTC](https://forum.inductiveautomation.com/t/passing-a-custom-template-parameter-to-the-same-parameter-on-a-pop-up-window/81890/2 "2023-11-14T20:23:27Z")

</div>

Your popup window will need a parameter that you'll pass it when you open the popup. You'll then need to pass that to your template embedded on that popup if I'm understanding you correctly.

---

<div class="post-metadata">

**Author:** ![brians.laptop](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brians.laptop/32/27906_2.png) [@brians.laptop](https://forum.inductiveautomation.com/u/brians.laptop)\
**Post date:** [November 14, 2023, 8:27pm UTC](https://forum.inductiveautomation.com/t/passing-a-custom-template-parameter-to-the-same-parameter-on-a-pop-up-window/81890/3 "2023-11-14T20:27:54Z")

</div>

"You'll then need to pass that to your template embedded..."

Yes, I understand that. I don't know _how_ to pass it.

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [November 14, 2023, 8:32pm UTC](https://forum.inductiveautomation.com/t/passing-a-custom-template-parameter-to-the-same-parameter-on-a-pop-up-window/81890/4 "2023-11-14T20:32:36Z")

</div>

To pass the parameter to your popup, there's an option to pass parameters:  
[https://docs.inductiveautomation.com/display/DOC81/Popup+Windows](https://docs.inductiveautomation.com/display/DOC81/Popup+Windows)

Then on that popup, you'll bind your template custom parameter to your custom parameter on the popup.

---

<div class="post-metadata">

**Author:** ![brians.laptop](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brians.laptop/32/27906_2.png) [@brians.laptop](https://forum.inductiveautomation.com/u/brians.laptop)\
**Post date:** [November 14, 2023, 8:47pm UTC](https://forum.inductiveautomation.com/t/passing-a-custom-template-parameter-to-the-same-parameter-on-a-pop-up-window/81890/5 "2023-11-14T20:47:15Z")

</div>

Great, thank you very much!!! I knew I'd seen it before, but I didn't expect it on the Navigation tab. I looked right past it, over and over.
