Alternative to OsNotify widget

Hi All

On the previous version o the platform we could trigger the notifyWidget directly from Javascript, using the following code:

if(OsNotifyWidget !== undefined)

    OsNotifyWidget(blockRuntimeID, info);

elseif(OsNotify !== undefined)

    OsNotify(blockRuntimeID, info);

and using a dummy notify to make available the OnNotify Handler on the parent block/page 

Since the osNotifyWidget has been deprecated, is there any alternative? 

Best Regards

Hello,
Are you using platform 11? Even OnNotify being Deprecatted, you get to use it. But if you do not want to, you can use the events.

Hi Domingues,

I prefer to use RichWidgets > FakeNotifyWidget because those are undocumented actions that can change without warning while FakeNotify if change it will have to include an upgrade to keep things working.

Regards,

Marcelo

Solution

Hi Domingues,

You can invoke events in web directly from your javascript using the following component:

https://www.outsystems.com/forge/component-overview/4479/web-event-javascript-extensibility

This should block should be able to replace your OSNotify calls.

Thanks,

Justin

Solution

Justin Babel wrote:

Hi Domingues,

You can invoke events in web directly from your javascript using the following component:

https://www.outsystems.com/forge/component-overview/4479/web-event-javascript-extensibility

This should block should be able to replace your OSNotify calls.

Thanks,

Justin

This has done the trick tks

BR