How can I add a specific conversion to the menu with menu maintenance?
For example I want the User Run conversion called End Activity on Labor Header Transactions Process to be runnable by a production manager. But we don’t necessarily want the production manager to be able to run all the other conversions in the list.
Good point, in 10.2.700, you had to start with a dashboard or UD table, in order to work in App Studio. (In later versions, you can start with a blank app.)
But you can delete the guts of the dashboard and then just slap the button on there.
I think it’s a rest-erp widget that you need for the event.
Ha, I know it’s sarcasm and poking fun and all, but I guess I never thought about this - App Studio has no way to “code” an event, right? You are forced to use widgets there.
Wow, do we need an emotional support group for that?
What is the simplest way to add a button to a blank form? I’ve never heard of App Studio until this thread. Are there tutorials on using App Studio to do that?
Edit, I’m gonna have to watch a YT video and see what it’s all about.
And nor should there be. Put code in functions and call them.
When I was part of the first company that purchased Epicor, the rep told us how the new version (V8) was a total do-over. The front-end and back-end developers were separated because they didn’t want business logic in the client. The client developers used what was available but didn’t prevent code from being in the client. And we know how that worked out with upgrading more often…
I’m assuming they are not going to let that happen again.
It’s kind of why I asked if you were trying to do classic (as opposed to Application Studio).
I never got into this level of sophistication in classic, so I don’t know how to add a button in that case. If that’s the plan, then someone else will need to chime in.
If you want to try Application Studio, I can try to advise you, but I fear that half of what I say will be not available - or working at all - in 10.2.700.
General idea, though would be:
Make a dashboard of anything - just do ABC codes or anything very simple.
When you go to, um, publish it (I don’t even remember the term now), there should be a box to check for Kinetic application. Check that and copy the text in that window that we always ignore.
Make a menu item for this dashboard, but instead of Dashboard Assembly, pick “Kinetic App.”
a. You’ll need the Ice.UIdbd jazz from step 2
Close Epicor and reopen it
Open that menu item
Go to the … (3 dots) menu in the top right and choose Application Studio
a. Make and save a layer
Edit the page
Delete the panel card grid
Make a new panel card (not panel card grid)
Add a button from the toolbox
Properties > Behavior > On click
a. This should open an event for the button
Add erp-function widget to the event
Pick your function (and library) from the dropdowns
a. Make sure the function is promoted first
b. Also in 10.2, I think you need to populate the API key
Preview and test
And eventually publish it
In Menu Maintenance, apply the layer to the dashboard
I’ll have to look around for doing the event. Again, it should be a rest-erp widget.
Thank you for the info. I got kinda far, but when I click on the button > behavior, there are is nothing I see that’s available to create any kind of event.
I figured out I have to click on the left hand side to events.
Which drops a circle on the screen and then changes the right hand to properties which I think I have to choose some things and oh by the way I hope you remember the ID you have the button because you’ll need that. Jeesh!
Now I flip back to toolbox, I’m guessing my way through this broken tangle of bits. I see function there so I’m like okay maybe I’ll drag and drop that onto the form but dragging it to the grid does nothing. You have to actually click on function then it goes into a sub menu and then I can drag the function to the workspace!!! Wow is that super not intuitive. How hard is it to make your buttons look like buttons?! Everything about this App Studio UI is just awful. The team that made it should be ashamed of this product. Like did they do any user testing? I digress, but wow.
Anyway now that I’ve made it this far, where is the spot where I say run my user function?
Doesn’t seem like I can say run the function? Unless there is some magical non-intuitive key combination you have to perform to get it to find my function.