Add event to web block outsystems 10

I cant seem to add an event to a webblock on outsystems 10 like I used to do on O11,
How can I do this?

Solution

Hi Divan,

You will have to use the Notify Actions available in the System Module

Notify Action - Used to notify the parent Screen/Webblock to notify the relevant changes happened in the webblock scope

NotifyGetMessage Action - Used in the Parent Screen/Webblock to get the message value passed from the Webblock using the Notify server action 


Hope this helps you!


Regards,

Benjith Sam

Solution

Hi Divan,

Checkout the Event article for OutSystems 10, here:

Use Events to Propagate Changes From a Block to the Parent 

Screen and Block Lifecycle Events 

Regards,

Swatantra