Applies to: This action is deprecated in versions 9.1 and higher. Use the Notify action instead.
The NotifyWidget action is a System Action that allows Web Blocks to notify their parent (Web Screen, Web Block) that a relevant event has occurred. When a Web Block uses the Notify Widget, the parent element needs to specify a screen action that will be called after the notification is sent.
To use the Notify Widget, proceed as follows:
The notification is sent using Ajax but only when the Screen Action flow ends.
Only when the web block has at least a Screen Action flow using the NotifyWidget System action, the On Notify Ajax capability is available in the Properties pane of the web block widget instance.
As an example, imagine a Web Block that contains a Combo Box widget and that a notification is to be sent whenever a new value is selected for it, for it may lead to refreshing other widgets on the Web Screen. To implement this simply create a Screen Action for the OnChange event of the Combo Box widget inside the Web Block and use the NotifyWidget in it to send the notification. Now, on every usage of the Web Block widget you may add logic to refresh (or not) other widgets on screen.
You may send customized information along with the notification in the Message argument. The screen action that handles the notification obtains this customized information using the NotifyGetMessage built-in function.
NotifyGetMessage Function | About Rich Web Screens using Ajax | About Runtime Properties | Overview of System Actions and Functions