Kinetic Launch Options BAQ Report

I have created a dashboard which as of now, functions better than i planned to in Kinetic so that is a big win! i am struggling with one aspect though…

I have added a button which is ‘Print Run List’
image

this opens a BAQ report successfully but the BAQ report requires a job number which is available in the grid that this is attached to.

How would one go about passing the job number of the highlighted row to the BAQ report automagically using the launch options?

as always, thanks in advance to anyone who can offer help!

1 Like

I think you need events on both side. You already have the button on-click which I’m assuming you’re using an app-open widget, correct?

In that widget is a parameter for “Value In” (JSON). You’ll have to look at what values/parameters you need to pass in to your report form, and put those in your JSON. That is what sends the values…

Here’s an unrelated example:
image

This user was sending the value of Part.PartNum to the next form AS “PartList”.

Then on the receiving side, your report form, you’ll need an event (after Form_onLoad, or after Initialize, or something similar) to perform row updates and plug in the values being received to the appropriate columns.

So, you may have a row update that sets YourView.PartNum to the expression of:

"%session.context.initialValueIn.contextValue.PartList%"

Again, “PartList” was the name of the value being passed.

I would search around for examples, there are a bunch, but they all vary depending on what you’re doing.

4 Likes

i found the solution to this one and have written up the solution, this is attached to this post!
it was simpler than i was expecting it to be after reading lots of different things and viewing different applications and looking at how they were passing details but this works!
Passing data to BAQ report.pdf (612.4 KB)

1 Like