Form data OnLoad event (Client API reference)

This event occurs whenever form data is loaded, specifically:

  • On initial page load.
  • When the page data is explicitly refreshed using formContext.data.refresh method.
  • When the data is refreshed on a page on saving a record, if there are any changes.

Use the formContext.data.addOnLoad and formContext.data.removeOnLoad methods to manage event handlers for this event.

Events (Client API reference)
Events in forms and grids in model-driven apps