How do I update a web block with AJAX

How do I update a web block with AJAX

  
Is it possible to update a web block from another web Block by using AJAX? And if so, how can this be done?

Hi Niek,

 

Yes, it is possible. You'll have to make use of the NotifyWidget built-in action.

 

This will trigger a notification that you may use to refresh another webblock, for example.

Check out the sample in attach.

 

Hope that helps,

Pedro

Hi Niek,

Be aware that this will run in a different webrequest... so, in a different transaction

Kind regards,
Gonçalo