# Switching a tag path parameter inside a popup

**URL:** <https://forum.inductiveautomation.com/t/switching-a-tag-path-parameter-inside-a-popup/56548>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 25, 2022, 5:14am UTC](https://forum.inductiveautomation.com/t/switching-a-tag-path-parameter-inside-a-popup/56548 "2022-02-25T05:14:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![franklepkowski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/franklepkowski/32/4808_2.png) [@franklepkowski](https://forum.inductiveautomation.com/u/franklepkowski)\
**Post date:** [February 25, 2022, 5:14am UTC](https://forum.inductiveautomation.com/t/switching-a-tag-path-parameter-inside-a-popup/56548/1 "2022-02-25T05:14:02Z")

</div>

Hello All,

I have a popup window that is passed a TagPath parameter when opened. I would like to put a dropdown on this popup to allow the operator to switch the tag path the popup is using without having to close it and click again a link to open it back up with new tag path. Has anyone done something similar to this? I had it half way working(seemed like it has race conditions) but it was causing odd messages in my gateway log “Flood Limit Reached”. I think it was due to cyclic bindings updating in an infinite loop.

Any insight is appreciated.

Thanks,

Frank

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 25, 2022, 12:47pm UTC](https://forum.inductiveautomation.com/t/switching-a-tag-path-parameter-inside-a-popup/56548/2 "2022-02-25T12:47:37Z")

</div>

You need to use a uni-directional binding between the popup parameter and the dropdown value parameter. Then use a property change to monitor the dropdown. Have the property change check if already equal (meaning the value came from the system, not from the user) before the scripted write-back.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [February 25, 2022, 1:51pm UTC](https://forum.inductiveautomation.com/t/switching-a-tag-path-parameter-inside-a-popup/56548/3 "2022-02-25T13:51:40Z")

</div>

Also be sure to be on the newest version (8.1.12+). Popups with viewparms had a bug if you used bidirectional viewparams. (they still kinda do in very niche situations)
