# URL parameter in DB2

**URL:** https://discourse.nodered.org/t/url-parameter-in-db2/90456
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [26 August 2024 20:17 UTC](https://discourse.nodered.org/t/url-parameter-in-db2/90456 "2024-08-26T20:17:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nygma2004](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nygma2004/32/1308_2.png) [@nygma2004](https://discourse.nodered.org/u/nygma2004)
#### Post date: [26 August 2024 20:17 UTC](https://discourse.nodered.org/t/url-parameter-in-db2/90456/1 "2024-08-26T20:17:00Z")

</div>

Would it be possible to query the url parameters of a dashboard 2.0 request?

For example if I have a DB2 url like `http://192.168.1.80:1880/dashboard/irrigation?test=1` to query the `test=1` part?  
I checked the `ui-control` node, but it does not return anything related to params.

I found this post and it looks like it was implemented to DB1: [Can we pass-in URL parameters to a dashboard?](https://discourse.nodered.org/t/can-we-pass-in-url-parameters-to-a-dashboard/10138)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [26 August 2024 20:26 UTC](https://discourse.nodered.org/t/url-parameter-in-db2/90456/2 "2024-08-26T20:26:08Z")

</div>

> [@nygma2004](#):
>
> checked the `ui-control` node

Did you check ui-events node?

---

<div class="post-metadata">

### Author: ![nygma2004](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nygma2004/32/1308_2.png) [@nygma2004](https://discourse.nodered.org/u/nygma2004)
#### Post date: [26 August 2024 20:30 UTC](https://discourse.nodered.org/t/url-parameter-in-db2/90456/3 "2024-08-26T20:30:41Z")

</div>

Yes!!! The `ui-event` node sends a message with a `$pageview` topic and it contains this information:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/f/9f65b21d96c99a84d8af06b799ffbfd72acd55fe.png)

Thanks a lot.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [9 September 2024 20:31 UTC](https://discourse.nodered.org/t/url-parameter-in-db2/90456/4 "2024-09-09T20:31:17Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
