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.
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:
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
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