# Perspective custom properties don't propagate with views on other views

**URL:** <https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [December 4, 2020, 9:31pm UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226 "2020-12-04T21:31:30Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [December 4, 2020, 9:31pm UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/1 "2020-12-04T21:31:30Z")

</div>

I have a view with controls and custom properties on that view. Those custom properties don’t show up when I drag those views on other views. Is this a bug, or by design? If so, how do I have properties that carry over with the views.Thx, jake

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [December 4, 2020, 10:00pm UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/2 "2020-12-04T22:00:55Z")

</div>

When you drag a View into another View, you’re not placing a View in a View, the Designer is placing an Embedded View component into your current View. In the context of your action, the only insight the Designer has into the View you are dragging is the path of the View, so we “magically” set the path of the Embedded View to that of the View you dragged. Since the Designer doesn’t have insight into the custom properties of that View, we can’t just apply them to the Embedded View.

If you have custom properties that you expect to drive component states within that view, you’d be better suited placing them as `param` values, because even if your dragged View has a custom property of `myProperty`, applying that same property to the Embedded View will not result in the view which is instanced in the Embedded View having access to the property. If you were to use something like `View.params.myParam`, and you then supplied `EmbeddedView.params.myParam`, then the View you had dragged would have access to that property.

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [December 4, 2020, 10:06pm UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/3 "2020-12-04T22:06:18Z")

</div>

K, came from vision, so not used to perspective yet. Figured params should only be used when starting up a view.Thx,jake

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [December 4, 2020, 10:13pm UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/4 "2020-12-04T22:13:52Z")

</div>

> [@codersmurf](#):
>
> Figured params should only be used when starting up a view.Thx,jake

If a View is to be used as a Docked View or a Popup that is absolutely the case because there is no way to bind against Popup or Docked View properties. Embedded Views, however, are a piece/child of the View, so you can have bindings going back and forth. If you click the arrow to the right of the param within the property browser, you can see that params allow for passing values in/out/bidirectional, which allows for easy writing back-and-forth beyond just the instantiation of the instanced View.

---

<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 4, 2020, 10:54pm UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/5 "2020-12-04T22:54:31Z")

</div>

You can think of view params as somewhat comparable to a Vision Template’s public properties, while custom properties of a view correspond to a Vision Template’s internal properties. Sorta. Kinda.

Perspective is just _different_ from Vision.

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [December 5, 2020, 12:43am UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/6 "2020-12-05T00:43:14Z")

</div>

Ah, makes sense, thanks all.jake

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [December 5, 2020, 3:13am UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/7 "2020-12-05T03:13:24Z")

</div>

So they still aren’t showing up, probably should have done a small test before redoing them all. I also tried the props and adding there with no luck. Also, I noticed that clicking on the child view doesn’t even show params, just custom and meta. Any other thoughts?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [December 5, 2020, 4:35am UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/8 "2020-12-05T04:35:53Z")

</div>

You’re not looking in the correct spot.

Let’s say you have two views: ViewA and ViewB, and you intend to drag ViewB ONTO ViewA.

- If you click the ViewB node in the project browser (the actual named View - not the root node), you will see that the Perspective Property Editor has a category named `PARAMS`. You should create your parameter properties here and assign their “direction” accordingly.
- Now drag ViewB onto ViewA. There is now an EmbeddedView component in ViewA, which has a `props.path` value of “ViewB”. That same EmbeddedView also has `props.params`; this is where you place case-sensitive matching properties to map to the properties you supplied for ViewB.

View node (ViewB):

 ![Screen Shot 2020-12-04 at 8.33.28PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/55d8dae9e8ae5f0473585503f0d1b88c1a3b7fee.png)

Embedded View:

![Screen Shot 2020-12-04 at 8.34.47PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/6/d6b6b01f82bcbb7d01b3f7852d1dad307329f7b0.png)

You should also read the [documentation](https://docs.inductiveautomation.com/display/DOC80/Perspective+-+Embedded+View).

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [December 5, 2020, 4:40am UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/9 "2020-12-05T04:40:12Z")

</div>

Okay, so it doesn’t populate automatically, I need to specifically add the params I wish to use in the embedded props.params. I did see that but didn’t think much of it since it didn’t have any of the params I setup in the child view. Is there any to get it to populate on it’s own, I have a crap ton of parameters so I didn’t have to create a bunch of one off controls.I know I can probably export and mod the json directly, rearc it and then import, but was hoping for some more eloquent I read the docs, but I didn’t see anything specific to this.Thx, jake

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [December 5, 2020, 5:05am UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/10 "2020-12-05T05:05:17Z")

</div>

> [@cmallonee](#):
>
> In the context of your action, the only insight the Designer has into the View you are dragging is the path of the View, so we “magically” set the path of the Embedded View to that of the View you dragged

The only thing we can do right now is populate the path. We have a feature ticket to populate the params, but no ETA.

---

<div class="post-metadata">

**Author:** ![codersmurf](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@codersmurf](https://forum.inductiveautomation.com/u/codersmurf)\
**Post date:** [December 5, 2020, 6:48am UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/11 "2020-12-05T06:48:43Z")

</div>

K, I’ll do it manually. Thank you for your help.

---

<div class="post-metadata">

**Author:** ![fabiano.moreira.amar](https://avatars.discourse-cdn.com/v4/letter/f/ebca7d/32.png) [@fabiano.moreira.amar](https://forum.inductiveautomation.com/u/fabiano.moreira.amar)\
**Post date:** [February 9, 2024, 6:37pm UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/12 "2024-02-09T18:37:56Z")

</div>

This information should be in the manual!

---

<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:** [February 9, 2024, 7:00pm UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/13 "2024-02-09T19:00:07Z")

</div>

Fabiano, Phil is not a member of IA staff. If you have suggestions for the manual then there is a link at the bottom of each of the docs pages.

> Found a problem? Send us an email: [docs@inductiveautomation.com](mailto:docs@inductiveautomation.com)

---

<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 9, 2024, 7:17pm UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/14 "2024-02-09T19:17:33Z")

</div>

The manual is quite explicitly divided between Perspective stuff and Vision stuff. (And stuff that is neither, like reporting or gateway events or tags or devices...) It's **all** in the manual.

---

<div class="post-metadata">

**Author:** ![fabiano.moreira.amar](https://avatars.discourse-cdn.com/v4/letter/f/ebca7d/32.png) [@fabiano.moreira.amar](https://forum.inductiveautomation.com/u/fabiano.moreira.amar)\
**Post date:** [February 9, 2024, 8:45pm UTC](https://forum.inductiveautomation.com/t/perspective-custom-properties-dont-propagate-with-views-on-other-views/41226/15 "2024-02-09T20:45:06Z")

</div>

Looks like the manual is/was not enough. I was not the first one that raised the question. Just had the same doubt, went trough the manual but found the answer here. TKS!
