# \[Bug\] Perspective embedded views bidirectional bindings writing default values to tags when view is opened

**URL:** <https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [November 1, 2022, 9:13pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959 "2022-11-01T21:13:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davis\_Hatrel](https://avatars.discourse-cdn.com/v4/letter/d/3e96dc/32.png) [@Davis\_Hatrel](https://forum.inductiveautomation.com/u/Davis_Hatrel)\
**Post date:** [November 1, 2022, 9:13pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/1 "2022-11-01T21:13:21Z")

</div>

Occasionally when I open a view in the designer all the embedded views with bidirectional tag bindings will be reset to the default values (0 in my case). The only thing I've been able to find about this issue is a change log from Oct 2021 saying that this was a problem that was happening and it was fixed.

Link to changelog post: [Nightly 8.1 Changelogs - 2021 - #171 by sreis](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2021/42410/171)

I am posting partly to bring up that this is still a problem, but I am also wondering if anyone else has experienced this and might've found a temporary workaround.

Here is an example of one place in my project I experienced this problem. That is a flex container where each line (besides the label) is an instance of the same embedded view, and all the values were reset to zero when I opened the view in the designer.  
 ![Embedded View Example](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/b/8baeda1e4be39d0b61681b96cc010673a4959e92.png)

---

<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:** [November 1, 2022, 9:45pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/2 "2022-11-01T21:45:09Z")

</div>

> [@Davis\_Hatrel](#):
>
> am posting partly to bring up that this is still a problem

What version are you in?  
I think I do remember that bug 😕 it wasn't great!

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [November 1, 2022, 9:52pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/3 "2022-11-01T21:52:22Z")

</div>

> [@Davis\_Hatrel](#):
>
> from Oct 2011

Should that be Oct 2021?

---

<div class="post-metadata">

**Author:** ![kvane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kvane/32/22228_2.png) [@kvane](https://forum.inductiveautomation.com/u/kvane)\
**Post date:** [November 1, 2022, 11:38pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/4 "2022-11-01T23:38:38Z")

</div>

In the view definition of the embedded view instances, is the tag binding on an input/output parameter (as opposed to the component in the view)?

If so, 8.1.22 includes some fixes that may address the behavior you're seeing here. It was just released - if that didn't fix it we would recommend you contact support. (If you can't upgrade soon, one potential setting that may reduce the odds of this occurring would be the **loading \> order** prop on the Embedded View component: changing it to "with-parent".)

---

<div class="post-metadata">

**Author:** ![Davis\_Hatrel](https://avatars.discourse-cdn.com/v4/letter/d/3e96dc/32.png) [@Davis\_Hatrel](https://forum.inductiveautomation.com/u/Davis_Hatrel)\
**Post date:** [November 2, 2022, 11:36pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/5 "2022-11-02T23:36:31Z")

</div>

yes, 2021. Just edited my original post.

---

<div class="post-metadata">

**Author:** ![Davis\_Hatrel](https://avatars.discourse-cdn.com/v4/letter/d/3e96dc/32.png) [@Davis\_Hatrel](https://forum.inductiveautomation.com/u/Davis_Hatrel)\
**Post date:** [November 3, 2022, 2:03pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/6 "2022-11-03T14:03:46Z")

</div>

Changing the loading order to with-parent seems to fix it, but I am going to try updating to 8.1.22 so I don't have to change that everywhere on my project if possible.

---

<div class="post-metadata">

**Author:** ![Davis\_Hatrel](https://avatars.discourse-cdn.com/v4/letter/d/3e96dc/32.png) [@Davis\_Hatrel](https://forum.inductiveautomation.com/u/Davis_Hatrel)\
**Post date:** [November 8, 2022, 2:18pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/7 "2022-11-08T14:18:34Z")

</div>

Sorry for the late response, I am not currently able to work on this project every day. I updated to 8.1.22 and am still having the issue. I am going to switch everything to with-parent for now, but it is a relatively large project so that will be pretty inconvenient. I would definitely appreciate it if someone could look into this issue and try to resolve it going forward.

edit: I am working on this project remotely through a VPN, so it's possible the issue is latency related.

---

<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:** [November 8, 2022, 4:51pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/8 "2022-11-08T16:51:59Z")

</div>

We just identified the root cause of this issue (we're pretty sure) - it has to go through QA review, but it could get into 8.1.23.

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [April 24, 2026, 11:53am UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/9 "2026-04-24T11:53:16Z")

</div>

Bringing back this old topic...  
Currently in version **8.1.38**. We are having this problem.

In our case we have about 3 Embbeded Views all set to "load-after-parent".

In this case the binding to the tag is set in the main view and the value gets passed from embbeded view to embbeded view arriving at the toggle switch. All params and bindings are set to bidirectional.

Sometimes when we enter the view the value is set to the default of the embedded view, but the tag doesn't change at all. Looks like is only visual.

Any record of this still happening?

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [April 30, 2026, 8:09am UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/10 "2026-04-30T08:09:55Z")

</div>

We have checked this.  
It was caussed by a "Refresh" action we had on the "onStartUp" action on component.

The page got loaded twice and that made the embedded view not load correctly the data.  
This was curious because the tags wouldn't change the data, only affected visually to the page.

---

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [April 30, 2026, 11:29am UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/11 "2026-04-30T11:29:07Z")

</div>

In my experience, this can happen when there are network issues (latency, hiccups, etc) between the client and the gateway.

My EmeddedView+ component does not have this same issue.

So once again, I'm going to keep plugging my `EmbeddedView+` component until someone from IA acknowledges that things could be improved.

> **[Embedded View + | Musson Industrial](https://docs.mussonindustrial.com/ignition/embr-periscope/components/embedded-view-plus/)**
>
> This component is an enhancement of the default \[Embedded View\] component with server-side property mapping.

Specifically, it’s because I initialize the view when the delegate starts, which is usually _before_ the client requests it. When the client does request the view, it’s already loaded, running, and bindings have been evaluated.

> <https://github.com/mussonindustrial/embr/blob/8.3/main/modules/periscope/gateway/src/main/kotlin/com/mussonindustrial/ignition/embr/periscope/component/embedding/EmbeddedViewModelDelegate.kt#L120-L127>

---

<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:** [April 30, 2026, 12:31pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/12 "2026-04-30T12:31:41Z")

</div>

> [@bmusson](#):
>
> My EmeddedView+ component doesn’t not have this same issue.

I assume you mean "does not" 🐛

---

<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:** [April 30, 2026, 12:33pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/13 "2026-04-30T12:33:31Z")

</div>

> [@bmusson](#):
>
> Specifically, it’s because I initialize the view when the delegate starts, which is usually _before_ the client requests it. When the client does request the view, it’s already loaded, running, and bindings have been evaluated.

Does this have other benefits as well, like faster load time for the user?

Oops, I didn't mean to post twice... Too hard to fix on phone aka too lazy

---

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [April 30, 2026, 12:47pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/14 "2026-04-30T12:47:37Z")

</div>

> [@nminchin](#):
>
> Does this have other benefits as well, like faster load time for the user?

Yup, exactly.

In this example video, my component is on the left and IA’s version is on the right. You’re seeing 5 layers of nested views with near instant binding propagation + preloading.

> [@nminchin](#):
>
> does not

I don’t not see no problems with my wording 😉

---

<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:** [April 30, 2026, 12:57pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/15 "2026-04-30T12:57:54Z")

</div>

Wow, that's a great comparison. Well, not great that the ia component has this issue.. But good argument supporting yours. OK, I might have to (finally) start using this. Is it an easy plug in replacement for IA's? (from memory it is) but is it literally just changing the component type in the json, if I wanted to do it in bulk?

Does this solve the 2-3 nest limit with IA's embedded views where any deeper has the issue of params not being passed through randomly if you have a moderate to largeish number of embedded views on the page?

---

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [April 30, 2026, 1:08pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/16 "2026-04-30T13:08:52Z")

</div>

> [@nminchin](#):
>
> Is it an easy plug in replacement for IA's?

It’s not quite a drop in replacement, I use `viewPath` and `viewParams` instead of `path` and `params`.

The FlexRepeater+ has more differences too, it allows you specify a unique `viewPath` for an individual instance (if you want).

> [@nminchin](#):
>
> Does this solve the 2-3 nest limit with IA's embedded views where any deeper has the issue of params not being passed through randomly if you have a moderate to largeish number of embedded views on the page?

I think that issue is related to the OP’s, and should be resolved. Give it a shot and let me know? ☺

I will also say:  
I think this about the best you can do improve things as a module developer. I think there’s more room for improvement, but it will have to come from modifications to the core of how Views load.

I’m also not saying my solution is the “best”. But at least I’d like some admission from IA that things _could_ be drastically improved.

---

<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:** [April 30, 2026, 1:15pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/17 "2026-04-30T13:15:04Z")

</div>

Freelance developement support to help solve some of these issues? 🤭

Sounds great though, I checked these out when you posted them ages ago and they looked 👌 , the flex+ with the flexible view path is fantastic, and obviously performance enhancements are a huge win for operators

---

<div class="post-metadata">

**Author:** ![Nol](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nol](https://forum.inductiveautomation.com/u/Nol)\
**Post date:** [April 30, 2026, 3:35pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/18 "2026-04-30T15:35:43Z")

</div>

@bmusson I had some issues with glitching after a page was open for a while. Like if the user tabbed to a different window and came back. I had 5 views, can't remember if it was the repeater or individual embeds but then I'd come back and only 3 of the 5 were working. Is there any kind of known issue or things I should avoid doing? I do really like the module particularly for the initial loading and not flashing the screen red with errors but I haven't tested it enough to actually use it yet. It very well could have been an unrelated issue on my config as it was just a dev test I threw together one day.

Also since the object loads the pathing in the gateway, is there any issues with pathing updating later after initial load? I'm not entirely clear how that works in this implementation. Like if I have a embedded dashboard for a instrument and then I click a different instrument and want to change the viewpath binding on dashboard to point to a different layout.

---

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [April 30, 2026, 4:08pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/19 "2026-04-30T16:08:07Z")

</div>

> [@Nol](#):
>
> I had some issues with glitching after a page was open for a while. Like if the user tabbed to a different window and came back.

Do you remember what version you were running?  
I believe this was fixed in `0.10.0`.

> <https://github.com/mussonindustrial/embr/commit/7def5bd9a36093f699b55e08972a6bcc54aa59d6>

> [@Nol](#):
>
> Also since the object loads the pathing in the gateway, is there any issues with pathing updating later after initial load?

I don't exactly understand what you're describing, are you asking if you can change the `viewPath` once the page is loaded? If so, the answer is an easy yes.

---

<div class="post-metadata">

**Author:** ![Nol](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@Nol](https://forum.inductiveautomation.com/u/Nol)\
**Post date:** [April 30, 2026, 4:16pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959/20 "2026-04-30T16:16:15Z")

</div>

Thanks! I don't remember off hand but I'll revisit it and reach out if I notice its a still issue / can replicate it.

[Next page](https://forum.inductiveautomation.com/t/bug-perspective-embedded-views-bidirectional-bindings-writing-default-values-to-tags-when-view-is-opened/65959.md?page=2)
