How can I display the values of BAQ filter parameters in a dashboard?

Scenario:

A dashboard driven by a user entered date.

When the dashboard is launched in Kinetic, the slider pops out, user enters the date. I would like to show on the dashboard the date they selected/entered.

I have looked in TransView hoping Kinetic stashed it there so I could grab it in application studio, but no luck.

I guess my underlying parameterized BAQ could return a column that is the value of the parameter, and I could just hide this column from my dash, and link a text box to it? Bit ugly… Will let y’all know if it worked.

Any tidier solutions?

passing the parameter back through the dashboard as an invisible column worked ok:
image

2 Likes

I’ve done it this way. I agree, it’s not the tidiest but it works.

I got it another way, but I have a slight issue I’m trying to work out.

When you enter a parameter value, it creates a DataView called
erp-baq-parameters.

You can bind to that on a label etc erp-baq-parameters.MyParam

But until the DataView exists, your label will say “MyParam” (“Maybe Acceptable?”)

When it does exists, it will have your value.


To get around this I tried hooking to all the refresh events but none of them seem to ever fire.

I tried hooking into the BAQ DataView as well to monitor for changes, but to be honest
besides simple stuff, I don’t know what I am doing.

Maybe this will help someone who does know how to monitor for changes in the view.
If it has rows, the Parameter DataView should exist and be populated.

1 Like