# \[BUG\] Template Path Binding on Popup View

**URL:** <https://forum.inductiveautomation.com/t/bug-template-path-binding-on-popup-view/58376>\
**Category:** Ignition\
**Tags:** ignition80, vision\
**Created:** [April 12, 2022, 7:23pm UTC](https://forum.inductiveautomation.com/t/bug-template-path-binding-on-popup-view/58376 "2022-04-12T19:23:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [April 12, 2022, 7:23pm UTC](https://forum.inductiveautomation.com/t/bug-template-path-binding-on-popup-view/58376/1 "2022-04-12T19:23:26Z")

</div>

I have two templates that are identical sizes with different content inside. I swap the template path based on the type of component. (between the paths “Pumps/Status/XF” and “Pumps/Status/XF\_Blower”).

The path bindings seem to work fine in preview mode, but then once I launch the project I run into some odd issues.

The first time I call for the popup, the template path binds just fine (I’ve added a binding from the template path to the label on the screen for convenience):

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/8/180e525a5268cb819d114d1b1b62192d024124e8.png)

But then I close this popup and open the same popup for a different pump and it doesn’t work correctly.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/c/5cd74491fc6b022b19d1fe257f2c3f014f60ba34.png)  
You can see the path is “Pumps/Status/XF” which is the correct path.

Then, when I go back to the first pump I have the same issue:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/c/1cd4330f1154255ad641cb14885f5d7693a24e1b.png)  
And again, “Pumps/Status/XF\_Blower” is the correct path.

If I save the project (without changing anything) and open the second pump’s popup the template binds just fine:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/6/f64354409eb72a72b0420e5ae4cfbf126df65c5c.png)

and then opening the first pump’s popup the issue reappears.

I can force the Cache Policy for the popup to “Never” as a workaround, but that’s not quite ideal.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 12, 2022, 7:36pm UTC](https://forum.inductiveautomation.com/t/bug-template-path-binding-on-popup-view/58376/2 "2022-04-12T19:36:46Z")

</div>

I think this is a bug we fixed in the 8.1.X line somewhere.
