427
Views
4
Comments
Solved
Alternative to OsNotify widget
Question

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

2024-04-24 19-28-09
Justin Babel
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

2019-04-11 10-22-10
Domingues

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


2021-05-25 20-26-04
Bernardo Condé

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.

2019-05-22 11-30-09
Marcelo Ferreira

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

2024-04-24 19-28-09
Justin Babel
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

2019-04-11 10-22-10
Domingues

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


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.