2018-03-26 14-20-06
Jordan Welch
mvp_badge
MVP
Ability to call Screen Actions from JavaScript.
2713
Views
4
Comments
Implemented
Frontend (App Interfaces)
Platform Server Release Oct.2019 CP1

It would be nice if there was a native way to call screen actions from JavaScript.

Currently the best way to do this is to create a hidden button with the intended action and then clicking it from the JavaScript.

I was thinking this could be achieved by creating a JavaScript function call attribute of the screen action. Similar to how Widgets have a .Id attribute, actions could have something like a .JSFunction attribute that could be included in JavaScript that would then start the screen action. 

Changed the category to
Frontend
Changed the status to
Working on it
expected delivery in Q4 2019

Hi Jordan,

That's a great idea and we intend implement it soon, as we are going to port several features from mobile to web (only for new web apps), and is one of those.

Thanks,
Tiago Simões

2018-03-26 14-20-06
Jordan Welch
mvp_badge
MVP

Thanks Tiago! Very excited.

Changed the status to
Implemented
on 02 Oct 2019

Hi Jordan,

On October 02nd we released a new generation of Web Apps that address your initial question by bringing Web Apps development much closer to the way Mobile Apps are developed with OutSystems. As a matter of fact, developing Reactive Web Apps is now very much similar to developing Mobile apps. You can read all about Reactive Web Apps on our forum post.


Thanks again for sharing your idea!

Cheers!