RE: Perform action after API request
Hi, I have a different scenario:
When I call my API, I have to skip all onValidate triggers in the table because I always get all the errors related to empty fields even if they are all filled.
So I created an event in the table that uses the standard "isHandled" method, but I'm using the User Setup table to set a custom boolean field (isApi).
So, when the OnOpenPage trigger (in the page API) is executed, I set the isApi field in User Setup to true.
So far, it works. My problem is setting it back to false when the call is ended.
I tried OnClosePage and OnQueryClosePage too, but the field is always true now; even if the page is closed.