Changing Default Events

Happy Holidays everyone, hope everyone is partaking in the holiday spirit

I decided to spend mine trying to see if I can change the logic for an event in epicor. I know you arent supposed to change the base layer events in app studio but tldr I really need to change this one, I really don’t like how some dashboards run the update event when the view changes. I am sure it makes sense to epicor but for me I need a save button before something is saved into the database. Is there a way around the locked events, even if it isnt epicor approved I will take it!

I saw another post about editing the event with an updatable BAQ, but figured id ask if that is still the recommended method before giving it a go and breaking something. Thank you and again happy holidays

1 Like

An alternative would be finding a way to change what constitutes a viewchange in epicor. For some reason on a particular dashboard a new record is created when viewchange occurs, which I think is really dangerous for our database, and will end up with incorrect entries. The classic version had a button to submit changes, I really wish I could have that back instead is what I am aiming for.

You can copy those events (right click on the event in the event list on the left in App Studio), then set the trigger to Event > Override and for Target input the name of the original/base event. You can then modify the copy and it will run that event over the base one.

Disclaimer: I do not know how much modifying you can actually do–at some point I’m sure you’ll break the app, depending on complexity/importance of the event; I’ve only ever added things to the end of one the base events this way

1 Like

I only wanted to disable the auto update on viewchange, worked like a charm thanks David! Here is the copied event for anyone else who is a visual learner and is looking for an example.

vs base event

1 Like