# Loop bindings in window and change path

**URL:** <https://forum.inductiveautomation.com/t/loop-bindings-in-window-and-change-path/68093>\
**Category:** Ignition\
**Tags:** ignition81, vision, scripting\
**Created:** [December 30, 2022, 4:59pm UTC](https://forum.inductiveautomation.com/t/loop-bindings-in-window-and-change-path/68093 "2022-12-30T16:59:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [December 30, 2022, 4:59pm UTC](https://forum.inductiveautomation.com/t/loop-bindings-in-window-and-change-path/68093/1 "2022-12-30T16:59:14Z")

</div>

Is it possible to loop all bindings in a window and update the tag path via a script in the script console or something.

We are updating PLCs and I need to change the tag path.

---

<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:** [December 30, 2022, 5:07pm UTC](https://forum.inductiveautomation.com/t/loop-bindings-in-window-and-change-path/68093/2 "2022-12-30T17:07:02Z")

</div>

Search and Replace tool?

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [December 30, 2022, 6:54pm UTC](https://forum.inductiveautomation.com/t/loop-bindings-in-window-and-change-path/68093/3 "2022-12-30T18:54:43Z")

</div>

I thought it wasn't able to see tag binding on components in windows. I'll try it out.

I did the rough way of copy and pasting into notepad then find and replace on the xml  
.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [December 31, 2022, 6:16am UTC](https://forum.inductiveautomation.com/t/loop-bindings-in-window-and-change-path/68093/4 "2022-12-31T06:16:45Z")

</div>

> [@andrews](#):
>
> replace on the json.

You mean XML?

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [January 3, 2023, 9:27pm UTC](https://forum.inductiveautomation.com/t/loop-bindings-in-window-and-change-path/68093/5 "2023-01-03T21:27:02Z")

</div>

yes my bad
