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.

5 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)

2 Likes

Hi Team. I’m struggling with getting either the correct event or the correct syntax. I am calling a BAQ Report from Project Entry. I want to pass Project.ProjectID from ProjectEntry to a BAQ Report called PIFForm.

I can launch the form, but I cannot get the ProjectID to load into the ReportParam.Option01.

It seems fairly easy (but after hour 3, I’m hitting a wall). I’m new to epDebug–so if it’s giving me a clue, I don’t see it.

In the trace, I can see the launch options (it looks correct to me) and on the receiving side I do not see an error (I’m unsure where to delineate the receiving side in the trace from the calling side).

Any help is appreciated. I’ve included the launch param, receive param and the trace.



I don’t think you want the “ProjectID” reference here.
image

Just try: "%session.context.initialValueIn.ValueIn%"

Thank you, David!!

That helped. I at least got Object Object to show up. I’ve changed the calling ValueIn to use KeyFields.ProjectID and that has resolved the Object Object.

I really appreciate your input!! Have a great evening.

1 Like

Here’s another question----I added a Custom Layer to handle the Event to fill in the Report Param Option01. The solution works great when called in Kinetic Web. But does not work great in kinetic client. The kinetic client is ignoring my custom layer. Since it’s a BAQ report, should I just update the base so I don’t have to pass the custom layer as the client seems to be ignoring the property parameter?

maybe a long shot and a bit of a silly one but i will ask anyway….is the shortcut you are launching in the client launching the correct layer?

Another way to look at this is it wont be an issue in a few months as the client wont exist.

This is PRB0303297. Please open a support ticket and ask for a hotfix. That will help increase the priority to fix it.

2 Likes

Thank you for responding.