Class
The MessageManager is used to manage message and message action.
When you need to publish a message in widget, you can use MessageManager.getInstance().publishMessage() .
Methods
| Method | Returns | Notes |
|---|---|---|
clearActionCache() | void | Clear executed action cache explicitly. Widgets can call this when they need to force next background-trigger action execution. When a widget selects records or filters a data source but does not publish 'Record selection changes' / 'Data filtering changes', the cache should be cleared to avoid a previously cached action being skipped and not executed again. |
publishMessage(message) | Promise<void> | Publish a message: the registered message actions that match will be executed. |
clearActionCache
Class MethodclearActionCache(): voidClear executed action cache explicitly. Widgets can call this when they need to force next background-trigger action execution. When a widget selects records or filters a data source but does not publish 'Record selection changes' / 'Data filtering changes', the cache should be cleared to avoid a previously cached action being skipped and not executed again.
Returns
void