Skip to content

Screen Event Handlers Out of Sync

This article helps you resolve Angular compiler errors that occur when a screen’s generated event handlers become out of sync with the screen definition.

You may encounter one or more of the following symptoms:

  • The application fails to compile after modifying a screen.
  • Angular compiler errors reference event handlers that no longer exist.
  • The generated screen appears to reference deleted or renamed components.

For example:

Property 'handler_ButtonBlock_9_click_$adhoc_0' does not exist on type 'PurchaseRequestUpdate'.
Did you mean 'handler_ButtonBlock_11_click_$adhoc_0'?

In some situations, the generated screen metadata can become temporarily out of sync with the current screen definition. As a result, the generated Angular template references event handlers that no longer exist.

  1. Save any changes to the screen.
  2. Log out of the Lowgile platform.
  3. Log back in.
  4. Rebuild the application.

In most cases, logging out and back in refreshes the generated screen metadata and resolves the compilation errors.

If the error continues after logging back in:

  • Verify that all button and component event handlers are correctly configured.
  • Confirm that any recently copied or modified components have been saved.
  • Rebuild the application again.
  • If the problem still persists, contact your Lowgile administrator or support team.