Trying to create examples for Application Studio

Trying to learn Application Studio so we can attempt to convert our 247 Classic Customizations to Kinetic for a potential cloud move.
The test example I am trying to make work is to Take the value of a Textbox and change the value of a label after clicking a button.
I am not binding this to any dataview. I read about TransView but cannot seem to get this to work.

My Controls
Textbox : txtShowValue
Button : btnSetValue
Label: ep-label (I guess you cant set the id of Labels)

image

Help???
Version 2023.1.6

1 Like

You’ll need to add a property-set widget in the button’s on click event. There you can change the labelText property to the new value.

.

If you’re talking Epicor SaaS cloud, then it’s probably not worth your time to bother with the client app - go straight to using the browser. Apps work a little differently on the browser, and Kinetic will be browser only in about 15 months on version 2026.1 (if they stick to the announced plan)

1 Like

You can, but not easily.
Because they don’t expose the component ID, you have to add the label to the screen, preview it, then inspect the label element to get the ID from the HTML and then do as @jwphillips mentioned and use the property-set widget.

image

And make sure you get the right one or you get some fun behavior like this. :rofl: :rofl: :rofl:

LabelText

3 Likes

Getting closer

My Textbox : txtShowValue is unbound

I found the label id: ep-label-b74da and set the Props to
image

When I input data in the txtShowValue and click the button I get

image

As in “not bound to TransView.TempTxt”?
If I understand correctly, the interpreter will try to find a field as written, but if it doesn’t find one, it spits out the expression as text. Check the value of your field in the debugger (Ctrl+Alt+v) to verify it exists.

Don’t bother. Upgrade first.

Let’s see the Properties > Data for the Show Value textbox.

If I put anything in the EpBinding box, I can’t type in the txtbox when I preview the form in browser

Can I ask why you are saying this?

You have to. Based on the other, you need to put TransView.TempTxt in the EpBinding.

Is this a custom App? Most apps come with a TransView defined. If it’s custom, you will need to initialize the view yourself. To do this, create an event that runs after OnLoad and use a row-update to set TransView.TempTxt to "".

Custom App

You know that’s not always feasible.

2023.1 has a lot of bugs and you’ll have to redo a lot of stuff when you upgrade past 2024.2.

Because there are so many bugs in that version that are fixed in later versions, and if you are going to cloud you have to upgrade to latest anyway. Its not worth developing that far back and trying to deal with all the bugs, and then on top of that try to deal with upgrading the kinetic customizations up several releases. Many of my kinetic customizations broke upgrading from 2023 to 2024. Classic is still available in cloud and will be for another year.

Alright, so create a dataview called TransView.
Then, create an event with a trigger of Window > On Load.
Add a row-update widget in there where you set TransView.TempTxt to "".

1 Like

image

Take the equals sign out of the expression field, otherwise good.

Take the string data type out too. Not needed.

3 Likes

Finally!!!

Thanks!!!

2 Likes

Thanks for your help!!!

1 Like