# Embedded widget in a experience Page

**URL:** <https://forums.losant.com/t/embedded-widget-in-a-experience-page/4779>\
**Category:** Help\
**Tags:** experience, dashboard\
**Created:** [October 20, 2022, 5:55pm UTC](https://forums.losant.com/t/embedded-widget-in-a-experience-page/4779 "2022-10-20T17:55:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Calderon](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jonathan\_Calderon](https://forums.losant.com/u/Jonathan_Calderon)\
**Post date:** [October 20, 2022, 5:55pm UTC](https://forums.losant.com/t/embedded-widget-in-a-experience-page/4779/1 "2022-10-20T17:55:20Z")

</div>

Hi Losant Team!

i’m working in a experience page with custom HTML and i want to set a ctx.deviceId variable on a widget.  
I send the deviceID in the pageData that a workflow reply me but i don’t know how to give it to the widget to use and grab data for me. I was reading the documentation but im not sure if this is possible.

if helps my page looks like this

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/c/cb345f6b5a0f4b619eb88ef59351b96561fbd779.png)

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [October 20, 2022, 7:13pm UTC](https://forums.losant.com/t/embedded-widget-in-a-experience-page/4779/2 "2022-10-20T19:13:15Z")

</div>

I’m assuming the “widget” is a Losant dashboard? If so, you can use the `element` helper to display the dashboard on your page and define context variables:

```auto
{{element 'dashboard' dashboardId=YOUR_DASHBOARD_ID ctx=(obj deviceId=pageData.yourDeviceId)}}

```

More details can be found here:

> **[Experience Views](https://docs.losant.com/experiences/views/#element-helpers)**
>
> Learn more about creating and using experience views in the Losant platform.
