# Vision Scripting - What am I missing here?

**URL:** <https://forum.inductiveautomation.com/t/vision-scripting-what-am-i-missing-here/73137>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [May 2, 2023, 10:50am UTC](https://forum.inductiveautomation.com/t/vision-scripting-what-am-i-missing-here/73137 "2023-05-02T10:50:45Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [May 2, 2023, 12:33pm UTC](https://forum.inductiveautomation.com/t/vision-scripting-what-am-i-missing-here/73137/7 "2023-05-02T12:33:02Z")

</div>

> [@bkarabinchak.psi](#):
>
> I try to make my windows "encapsulated", it's not a direct one-to-one definition

A given system can have dozens of control valves, but I will have precisely one popup window for all of them, and they will all pass their parameters into the window. If I ever have to make a change, I will only have to make it one place.

I've done a tutorial on this before:

> [@Use only one window for different components values](https://forum.inductiveautomation.com/t/use-only-one-window-for-different-components-values/68062/8):
>
> I'm sure you've figured this out by now, but just in case, I've put together a tutorial that is specific to your usage case: Here is a popup window with 5 numeric text fields: [image] I have a list of tags that are going to be sent to the popup from various buttons, and will subsequently provide the values: [image] These are my buttons that are in a main window: [image] The 1st thing to do is right click on the root container of the popup window and select Customizers--\>Custom Properties: …

---

_[View the full topic](https://forum.inductiveautomation.com/t/vision-scripting-what-am-i-missing-here/73137)._
