# How can I pass the value of a parameter from one view to another different view?

**URL:** <https://forum.inductiveautomation.com/t/how-can-i-pass-the-value-of-a-parameter-from-one-view-to-another-different-view/102589>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 19, 2025, 7:49pm UTC](https://forum.inductiveautomation.com/t/how-can-i-pass-the-value-of-a-parameter-from-one-view-to-another-different-view/102589 "2025-02-19T19:49:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![marco.paniagua](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@marco.paniagua](https://forum.inductiveautomation.com/u/marco.paniagua)\
**Post date:** [February 19, 2025, 7:49pm UTC](https://forum.inductiveautomation.com/t/how-can-i-pass-the-value-of-a-parameter-from-one-view-to-another-different-view/102589/1 "2025-02-19T19:49:09Z")

</div>

Hello.  
How can I pass the value of a parameter from one view to another different view?  
I am sending some example images.  
I want to assign the Key\_1 value of View\_1 to the Key\_2 value of View\_2.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/8/88fd9f6f409d1d8ac495483af8f9176d48228768.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/e/6eaa2aa14e4439848d8103ba978ecaa41f743e40.png)

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [February 19, 2025, 8:04pm UTC](https://forum.inductiveautomation.com/t/how-can-i-pass-the-value-of-a-parameter-from-one-view-to-another-different-view/102589/2 "2025-02-19T20:04:47Z")

</div>

It seems that the parameter values of views 1 and 2 are always the same? In that case create a session property and bind the view parameters to that.

You could also use a custom prop on the page itself, if it is only needed on a single page.

---

<div class="post-metadata">

**Author:** ![bmeyers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmeyers/32/37453_2.png) [@bmeyers](https://forum.inductiveautomation.com/u/bmeyers)\
**Post date:** [February 19, 2025, 8:09pm UTC](https://forum.inductiveautomation.com/t/how-can-i-pass-the-value-of-a-parameter-from-one-view-to-another-different-view/102589/3 "2025-02-19T20:09:32Z")

</div>

@dkhayes117 solution is simplest if you want the views to act on the same information but if you need an event to send a value to another view then look at the following links.

> **[system.perspective.sendMessage | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-perspective/system-perspective-sendMessage)**
>
> Send a message to a message handler within the same session.

> **[Component Message Handlers | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/scripting-in-perspective/component-message-handlers#message-handler-example)**
>
> In Perspective, Component Message Handlers are the preferred way to pass parameters between components or Views. Doing this involves the system.perspective.sendMessage function. There are typically two steps involved:

---

<div class="post-metadata">

**Author:** ![marco.paniagua](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@marco.paniagua](https://forum.inductiveautomation.com/u/marco.paniagua)\
**Post date:** [February 19, 2025, 8:53pm UTC](https://forum.inductiveautomation.com/t/how-can-i-pass-the-value-of-a-parameter-from-one-view-to-another-different-view/102589/4 "2025-02-19T20:53:32Z")

</div>

Thank you very much for your help.  
Is there a way that when I select an Motor from a menu tree I can go to another view and at the same time change a variable and I can use it to create indirect tags. But at the same time the change of that variable only affects my PC and that from another PC I can also modify that variable without affecting the value of the variable on the other PC.  
This is in order to speed up programming since I have several similar computers.  
I am sending some example images.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/7/47b8d892de571cb1b11caee3c3433f25ac901bff.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/e/ae97d9cb316c27a7ca6949b6178043c846c1c80e.png)

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [February 19, 2025, 9:05pm UTC](https://forum.inductiveautomation.com/t/how-can-i-pass-the-value-of-a-parameter-from-one-view-to-another-different-view/102589/5 "2025-02-19T21:05:50Z")

</div>

Are you wanting to navigate to another page with view2, open a popup with view2, or have view 2 on the same page as the "motor selector" which updates based on the current selection? I would advocate for the last option, myself.

---

<div class="post-metadata">

**Author:** ![marco.paniagua](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@marco.paniagua](https://forum.inductiveautomation.com/u/marco.paniagua)\
**Post date:** [February 19, 2025, 9:11pm UTC](https://forum.inductiveautomation.com/t/how-can-i-pass-the-value-of-a-parameter-from-one-view-to-another-different-view/102589/6 "2025-02-19T21:11:06Z")

</div>

Yes, I have view 2 on the same page as the "motor selector"

---

<div class="post-metadata">

**Author:** ![leonardo.godoi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/leonardo.godoi/32/27178_2.png) [@leonardo.godoi](https://forum.inductiveautomation.com/u/leonardo.godoi)\
**Post date:** [February 19, 2025, 9:15pm UTC](https://forum.inductiveautomation.com/t/how-can-i-pass-the-value-of-a-parameter-from-one-view-to-another-different-view/102589/7 "2025-02-19T21:15:08Z")

</div>

Ohh, are you looking to create an [Embedded View](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/views-in-perspective/embedded-views) ?  
Or maybe you want a [Parametized Popup view](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/views-in-perspective/popup-views#configuring-a-parameterized-popup-view) ?

---

<div class="post-metadata">

**Author:** ![marco.paniagua](https://avatars.discourse-cdn.com/v4/letter/m/9d8465/32.png) [@marco.paniagua](https://forum.inductiveautomation.com/u/marco.paniagua)\
**Post date:** [February 19, 2025, 9:51pm UTC](https://forum.inductiveautomation.com/t/how-can-i-pass-the-value-of-a-parameter-from-one-view-to-another-different-view/102589/8 "2025-02-19T21:51:12Z")

</div>

Hi Leonardo.  
I am sending you some reference images. When I press both Motor 1 and Motor 2, they direct me to the same view (View\_2).  
Additionally, I want to be directed to that view, when I press them, they change a parameter and with that make the speed display dynamic in the same view with an indirect tag.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/b/3b3d49502d9278fdbe2ce0eaa090a7b5e92d96e9.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/0/602315bb92bb8dea6e1113914bb0130ba7083e7d.png)

In addition to that, I want that variable to change when pressing Motor 1 or Motor 2. It is only modified for one PC, that is, if I enter from another PC, that variable remains at its initial value.
