Calling Kinetic app from Classic Customization with parameter

We are currently on 2023.2, but using all Classic applications. I am wondering if it is possible to call a custom Kinetic application and pass a parameter. Specifically, I have a button in Customer Shipment Entry (Classic) that I would like to call a Kinetic form and pass it the PackNum.

I attempted to do this by setting a CallContextBpmData field but seems like this data does not persist when calling a Kinetic form. Is there another way I can call the Kinetic form using the URL and pass the PackNum in the URL?

edvCCBD.dataView[edvCCBD.Row]["Character01"] = edvShipHead.dataView[edvShipHead.Row]["PackNum"].ToString();
ProcessCaller.LaunchForm(oTrans, "DEVTEST");
1 Like

I’m weak on the “Classic” side of things, but I would assume you could set your button to open a specific MenuID, which is the Kinetic form?

I’m not sure in classic how to set-up passing a value… but… I think on the Kinetic receiving side:

On the target kinetic form, you would need an event that accepts the value you’re passing, and assigns it where you need it to go.

So, not knowing what kinetic form you’re using, you could set up an event for after form load that includes a row-update.

The row-update would include a column: TargetDataView.TargetColumn

There is a “value” field there in the row-update event and you would use something like:

"%session.context.InitialValueIn.ValueIn%"
1 Like

I don’t know if it will work, but ProcesCaller has an overload that takes launch form options.

1 Like

Haha… I love that this was his example code:

image
@Mark_Wonsil

3 Likes

Thanks, I will have a look at that link and see if there is something I can use. I did briefly try passing in a lfo, but not sure how to key into that from the Kinetic app. We will eventually be starting our Kinetic roll out, so I was hoping to use this as a test, but it may just be easier to just keep it all in Classic for now.

1 Like

Maybe?

1 Like

Right… that’s what I suggested above for the kinetic side of the handshake. (Receiving Side)

I just don’t know how to set-up the app-open and pass the value from the Classic side. (Sending Side)

1 Like

Thanks, I was able to finally get this to work along with some information here:

I added the KeyFields dataview and added a packnum field. I then added a row-update event with an On Load trigger. I could then add a rest call using my packnum field as a parameter to pull in my full dataset.

This was probably my first real experience using Application Studio, so thanks for the guidance.

2 Likes

Well done! That’s the value of this forum. Kudos for digging through and putting pieces from multiple posts together to get what you need. Love that.

1 Like