On PageLoad event handler
In order to trigger an action when an application loads, such as fetching data from a database and displaying it in a frontend table, use the on PageLoad event handler.
The on PageLoad event handler allows you to run any Backend API when a user opens or refreshes an Application in Superblocks.
Configure an API to run when the page loads
Add Backend API, and name it something obvious, in this example on PageLoad. Configure the API trigger block to
Alwaysrun on page load:
Add a dummy step, in this example Python that runs
Configure the API response block and then configure the onSuccess event handler to