Hi guys,


I prepared a button and I want to transfer some message after clicked this button. So I used OsNotifyWidget(button.id, message) and then I got "Internal Error" page.


Button HTML element:

Called OsNotifywidget method with the correct button.id:

Then I found it throw an error at _osjs.js:


This is a problem I just discovered recently, and there was no such problem before. Is there any changes?

Please help me to solve or give some workaround.


Environment: OS11 traditional web app.

Solution

Hi,

If your goal is to execute a screen action from Javascript, you can achieve the same with the use of the FakeNotify widget from the RichWidgets module in Traditional Web.

Let me know if that worked for you.

Regards,

Nordin

Solution

I have not tried this component out yet, but same seems to possible with Web Event Javascript Extensibility component from the Forge. 

You should check it out.

Regards,

Nordin

Nordin Ahdi wrote:

Hi,

If your goal is to execute a screen action from Javascript, you can achieve the same with the use of the FakeNotify widget from the RichWidgets module in Traditional Web.

Let me know if that worked for you.

Regards,

Nordin


Hi Nordin,


This solution works well, thanks very much.