What event is this?

I am looking for the event that calls this search box on the loading of the form. I have checked almost all events and cannot find out how this screen is calling this search.

I am trying to remove needless clicks, and one of them is searching for a resource group. I have it auto-filling in the resource group, but this search slideout is still coming up by default.

I have tried form_onload, and that is not it.

1 Like

Should be able to find it in the Dev Console. Use Ctrl-Alt-8 to enable debug in the Console tab. Then click on what you want to trace.

You can also try the Kinetic Trace Helper Jose created

1 Like

I am going to have to look into that. I wish there was a way to see the exact order of operations for events instead of application studio.

1 Like

Only way I know of is the browser Dev Console which can be fire-hose level of stuff to sort though. But it’ll list the events in the Console and the data in the Network tab plus Jose’s Tracer tool for the REST calls (Methods) for helping build BPMs etc.

Hi, Form_OnLoad is indeed the (parent) event that calls a (child) event that pops up the search-show. In app studio, if you create a new layer on resource scheduling board, then in events, right click Form_OnLoad, copy the event. change the trigger on the copied event to override the Form_OnLoad event, as such:

Then, insert a new console-write action at the beginning of the event chain:

containing the text:

#_epDebug.setDebugModeStatus(true)_#

This will enable debugging as early as possible, which allows you to see the event chain in early load.
Form_OnLoad → SysAfterInitialize → AfterInitialize → KeyFields.ResourceGroupID → search-show

3 Likes

:fire::fire::fire:

why is this not a check box for AppStudio preview.

2 Likes

I don’t even want to utter the forbidden words, because why? “that sounds like a great epicor idea” :face_in_clouds:

2 Likes

Here is exactly what I did for anyone who might have this problem in the future.

I copyed two events Form_OnLoad & AfterInitialize.

At the end of the Form_Onload I added a row update for KeyFields.ResourceGroupID.
AfterInitialize I changed the last event on the condition false side to Update_SysAllowViewSBTool_TransView



Both are set to override base.