Rebuild State

The Rebuild State action triggers a rebuild or refresh of a specific state context within the app. This can be used to force the UI to update based on changes in state or to reinitialize parts of the app dynamically.

The Rebuild State action triggers a rebuild of specific state contexts within your app. This forces UI components that depend on the state to re-render, reflecting any changes in underlying data or state.


📦 Properties

Property
Type
Required
Description

State

Dropdown

Yes

Name of the state context to rebuild


✅ Common Use Cases

  • Refreshing UI after external data updates

  • Forcing re-render of components with dynamic content

  • Updating displays after background operations complete

  • Synchronizing UI state with external events

  • Manual refresh triggers for complex state dependencies


⚙️ Default Behavior

By default:

Behavior
Description

Scope

Rebuilds current page/component if no name specified

Propagation

Triggers listeners on the specified state context

UI Update

Forces dependent widgets to re-render

Performance

Only rebuilds specified context, not entire app


🛠️ How to Use

Call External Method action configuration showing message name and payload fields
Call External Method action configuration in Digia Studio
  1. Add the action to a widget event (e.g., onClick, onChanged)

  2. Choose Rebuild State from the action list

  3. Specify stateContextName to target a specific state context


Last updated