# How to transfer data from perspective dashboard to widgets

**URL:** <https://forum.inductiveautomation.com/t/how-to-transfer-data-from-perspective-dashboard-to-widgets/68887>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [January 22, 2023, 7:12pm UTC](https://forum.inductiveautomation.com/t/how-to-transfer-data-from-perspective-dashboard-to-widgets/68887 "2023-01-22T19:12:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hans\_odgaard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hans_odgaard/32/83110_2.png) [@hans\_odgaard](https://forum.inductiveautomation.com/u/hans_odgaard)\
**Post date:** [January 22, 2023, 7:12pm UTC](https://forum.inductiveautomation.com/t/how-to-transfer-data-from-perspective-dashboard-to-widgets/68887/1 "2023-01-22T19:12:09Z")

</div>

Hi all, kind of stuck with this.  
I'm looking for a way to use data from my main view and then make it available for the widget in the dashboard. But my widgets (4) doesn't update when data is changed in the dashboard view(1) .  
Since the setup is to be used by many users, it's automatically loads the setup of the users whom have logged in  
I have enclosed my setup, any thoughts ?

 ![2023-01-22_19-59-20](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/d/0d82d1b28953f3ed30798ed4f93bcec5f89c5432.jpeg)

---

<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:** [January 23, 2023, 2:20am UTC](https://forum.inductiveautomation.com/t/how-to-transfer-data-from-perspective-dashboard-to-widgets/68887/2 "2023-01-23T02:20:20Z")

</div>

I'm having a hard time making sense of your screenshot, because you have numbers unassociated with anything you're posting. You're also asking about a Dashboard with Widgets, but you don't show us any screenshots of the configuration used for the Dashboard.

It _looks_ like you're passing the params down to the View (`View`) correctly, but you need to pass those params as part of the defined widget in the Dashboard. Until you can show us what that looks like I won't be able to help any further.

![Screenshot 2023-01-22 at 6.20.06 PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/a/ea0f1c46b198e689b2cd4149f2a0c7d5618db85d.png)

---

<div class="post-metadata">

**Author:** ![hans\_odgaard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hans_odgaard/32/83110_2.png) [@hans\_odgaard](https://forum.inductiveautomation.com/u/hans_odgaard)\
**Post date:** [January 23, 2023, 10:31am UTC](https://forum.inductiveautomation.com/t/how-to-transfer-data-from-perspective-dashboard-to-widgets/68887/3 "2023-01-23T10:31:27Z")

</div>

Sure Thing.  
(1), Params in the widget, with a Binding to the Property I would like to transfer

 ![2023-01-23_11-25-48](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/b/eb953916ccbabaedbb8f89c3d86ef4356e7bfd7a.png)

(2) Nut sure if relevant but no data transferred to the input params

---

<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:** [January 23, 2023, 3:47pm UTC](https://forum.inductiveautomation.com/t/how-to-transfer-data-from-perspective-dashboard-to-widgets/68887/4 "2023-01-23T15:47:25Z")

</div>

Where are you not seeing the values being used? In a Session, or in the Designer? Are you specifically concerned about the `CPL1_Alarm_Pie` View in the Designer? If you're encountering the values not being used in a Session, could you explain how the View uses the values?

---

<div class="post-metadata">

**Author:** ![hans\_odgaard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hans_odgaard/32/83110_2.png) [@hans\_odgaard](https://forum.inductiveautomation.com/u/hans_odgaard)\
**Post date:** [January 23, 2023, 7:36pm UTC](https://forum.inductiveautomation.com/t/how-to-transfer-data-from-perspective-dashboard-to-widgets/68887/5 "2023-01-23T19:36:18Z")

</div>

Let me try to go another way around this.  
My goal is to use the values entered in the main view which hold the dashboard and use them in whatever widget added to the dashboard. That could be the pie chart or the alarm journal. (Which by the way does not work very well, you will have to resize the widget before the journal table shows the data correctly, but I will post that later)

 ![2023-01-23_20-27-25](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/4/b4151048f620d158947c928f9dff21b030b1288c.png)

---

<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:** [January 23, 2023, 8:46pm UTC](https://forum.inductiveautomation.com/t/how-to-transfer-data-from-perspective-dashboard-to-widgets/68887/6 "2023-01-23T20:46:55Z")

</div>

Okay, I think I might see what's happening here, but feel free to correct me if I'm wrong.

It appears that you are configuring an `availableWidget` such that its param values are based off of some value supplied by the Session. It _seems_ like you are also expecting to update the param values _after_ the Widget has been added to the Dashboard because of the binding you've placed.

Binding the param values of the `availableWidgets` will add the Widget to the Dashboard with the values supplied by their bindings (I have verified this behavior is working as intended myself with some basic resources). The bindings applied in `availableWidgets` do NOT carry over to the placed Widget; they are used for the sole purpose of supplying the original values for the Widget as it is added. If you review your screenshots, you'll notice that `widgets[0].viewParams` does not contain any of the bindings you set up within `availableWidgets` (and this might have been your concern to start with). This is intended behavior, otherwise every added widget instance would receive the same parameters and bindings; it is a far better behavior across the breadth of user experiences to allow for users to write to these params _as needed_ after creation than to force configured bindings in the `availableWidgets` listings onto every instance of that Widget within the Dashboard and in so doing prevent users from effectively writing to those values.

If your goal is indeed to have the param values update during the course of your session, the "best" option is to keep the configured params and bindings, but to update them with a Message Handler, triggered by a change script on whatever components drive the values.

**In summary...**

> [@hans\_odgaard](#):
>
> My goal is to use the values entered in the main view which hold the dashboard and use them in whatever widget added to the dashboard.

I've verified bindings configured in `availableWidgets` are used when placing a Widget and then never again. This is intended behavior. If you want to update a Widget AFTER having added it to the Dashboard, then you must use a mechanism other than bindings.

> [@hans\_odgaard](#):
>
> Which by the way does not work very well, you will have to resize the widget before the journal table shows the data correctly

I was not able to replicate this, though I'm sure it's entirely possible depending on the parent container of the Table and the positional properties you've configured. Could you provide some insight into how that View is configured so that I might better replicate it?

 ![Screenshot 2023-01-23 at 12.45.01 PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/5/a5f2907bf93a1330512f6754388778c8990af95a.png)

---

<div class="post-metadata">

**Author:** ![hans\_odgaard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hans_odgaard/32/83110_2.png) [@hans\_odgaard](https://forum.inductiveautomation.com/u/hans_odgaard)\
**Post date:** [January 24, 2023, 5:06am UTC](https://forum.inductiveautomation.com/t/how-to-transfer-data-from-perspective-dashboard-to-widgets/68887/7 "2023-01-24T05:06:56Z")

</div>

See the video in [Journal File not shown properly after reload](https://forum.inductiveautomation.com/t/alarm-journal-as-widget-fails-to-reload-in-8-1-24/68931) And thank you very much for your answer

---

<div class="post-metadata">

**Author:** ![harsh.gandhi](https://avatars.discourse-cdn.com/v4/letter/h/6a8cbe/32.png) [@harsh.gandhi](https://forum.inductiveautomation.com/u/harsh.gandhi)\
**Post date:** [March 25, 2025, 7:01pm UTC](https://forum.inductiveautomation.com/t/how-to-transfer-data-from-perspective-dashboard-to-widgets/68887/8 "2025-03-25T19:01:49Z")

</div>

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

Hello  
We are trying to achieve similar functionality .  
In this above picture we got props.availableWidgets configured with no bindings on parameters.  
However we had no success at updating the parameter of the props.widget[xxx].viewParams.ID

Problem we run into is that When we update the props.widgets[0].viewParams.ID , that same parameter value reflects in other instances of the widget .

Behavior we are looking to achieve is that these widgets would act as unique instance of the view just like flex repeater which can pass in different parameters for different instances of same widget.

The reason we choose to use dashboard and widgets is to have the flexibility and scalability by specifying the ID which would essentially pull the right data from dataset based on Line and Station parameters which we will provide once we have success with this proof of concept.

Both widgets instances are created from same available widget

---

<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:** [March 31, 2025, 4:52pm UTC](https://forum.inductiveautomation.com/t/how-to-transfer-data-from-perspective-dashboard-to-widgets/68887/9 "2025-03-31T16:52:29Z")

</div>

In the Dashboard, you are defining the values to be supplied for _every_ instance of the widget. If you need different values (like an ID), then you would either need to use some sort of binding or allow the View being used within the widget to assign an ID deterministically on startup.
