How To: Kinetic - Launch a Form using App Studio

Thanks that worked like a champ.

1 Like

Thanks @hmwillett, together with @klincecum helped me sort out How to launch "Create case from CustID" from a button? - #10 by Chrisw

2 Likes

Have there been any known problems with 2023.1 in regards to launching a form on a specific layer?
I had been able to launch a JobEntry layer from a button in MES using these parameters:
image

Now, the same button launches JobEntry without a layer applied. However, the launched form still navigates to the “Details” panel of the base layer.
From the debug menu, it looks like the parameters have the correct layer to launch, but it somehow is not applying that. So, the issue must be within the layer itself?
image

Try making a menu item with that layer and launch to see if it works,
or go open it in app studio and see if it works correctly.

If it does, then this may be a bug.

The menu had been deployed before, and testing after the update, it launches and functions the way I expect.

I did delete the menu, and re-deployed using the same layer, with no change to the functionality. However, the app-open still opens the base layer. :frowning_face:

Just installed 2023.1.5 and tested–works fine for me, though I did test from ABC Code to Part Entry instead of from MES, but the functionality should be the same.

@ehowley double check that your layer is published.

*Edit–works in MES as well.

Strange, the layer shows published in App Studio.

Tried removing the launch options to see if the correct landing page launches, same result.

I must have screwed something up in the layer to cause this, since it’s working for you. Time to just make it from scratch again I think.

Make a new, super basic layer (like change a label or something) and see if that works before you start over.

Launched from the App-Open:

What is published to the menu:

My stupid button is nowhere to be seen.
image
Tabs have different names as well.

Try removing the “Who Launched”. (Not that I expect that to work, just removing variables)

Unfortunately same result,

maybe a fresh MES layer could get me to my stupid button :face_with_raised_eyebrow:

Also, try deleting the entire app-open widget and add it back to your event.

Try ticking the “Open in Design Mode” as well and see if that opens the expected layer.

Just tried it with a fresh app-open widget and without the launch options JSON.

It hits the normal JobEntry landing page, and has no button on the details tab.

Edit: Design mode opens NewLayer Hmmmm

Try a screen other than Job Entry and see if that works.

Tried SalesOrderEntry, since I had a layer made already.

New button, new app-open, opens the correct layer in design mode.

Lemme try out Job Entry and see if I can replicate.

Hmmm,

Still seems to work. Your Job Entry sounds FUBAR.

:laughing: I want my stupid button back!

I re-created the button, event, widget, all the nonsense in app studio again on the MES side. JobEntry still opens in design mode on the base layer. I’ll toy around with a couple other things today but this may be a support ticket incedent.

Thanks for your time, don’t keep my stupid button for too long or it may destroy your job entry app!

I see that all examples are opening Details page. What abt other pages?

I would like to go to “Orders” virtual page or at least “Activity” tab page in Customer Credit Manager. Mentioned app don’t want to “accept” ValueIn as a default.
So I created a Layer in Customer Credit Manager I am reading my Value on after FormLoad event. I am doing row-update and setting KeyFields.CustID to my Value. This result in Details page being open - but I can’t go neither to Activity not to Orders page. Any hint?
BTW I was also trying to use dataview-set-current and row-current-set but it didn’t help as well.

Update: someone was already asking how to navigate to Virtual page nobody answer: