# Preventing two clients from using the same parameterized pop up window?

**URL:** <https://forum.inductiveautomation.com/t/preventing-two-clients-from-using-the-same-parameterized-pop-up-window/28923>\
**Category:** Ignition\
**Tags:** ignition79, ignition80\
**Created:** [October 8, 2019, 3:21pm UTC](https://forum.inductiveautomation.com/t/preventing-two-clients-from-using-the-same-parameterized-pop-up-window/28923 "2019-10-08T15:21:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [October 8, 2019, 3:21pm UTC](https://forum.inductiveautomation.com/t/preventing-two-clients-from-using-the-same-parameterized-pop-up-window/28923/1 "2019-10-08T15:21:12Z")

</div>

This is a problem I’ve been asked to solved and I don’t think Ignition has any built-in ways to handle it.

In my vision project, I have many parameter popups that tend to use a single identify ID, think something like Popup\_Salesorder that is fed a parameter salesorder\_id.

I have 20-30 people who use this application live. Here is what I am trying to accomplish - if one user opens and starts editing data for Popup\_salesorder where the param salesorder\_id = 1234, and then another user opens that same window with the same parameter, they get a rejection method / something is triggered so that I can put a veil over the window indicating other users are editing data.

We use the convention where a parameter Id of -1 indicates creating a new record, and so many users can use the same window if the id paramter = -1.

My initial thought was making a gateway dataset memory tag with 3 columns, userId, windowName, and paramter ID. Here, when a client opened a window, I would write to it the userId, window name, and the parameter. At closing of the window, I would delete that row. When someone else opens a window, it would first check this tag to see if it was allowed to.

Any other ideas on how to do this? Is there some built in way to do this?

Thanks
