Screen action and preparation

Hello All

can anyone help me out with below query:


When a screen action is triggered will it run the preparation automatically or we need to run it exclusively by data refresh and ajax refresh?

Hi,

If the screen action is triggered by submit the preparation will run after the screen action. But normally is better to use ajax submit and than use ajax refresh and use the data and ajax refresh than let everything on preparation to run again

Regards,

Marcelo

Hi,

What Marcelo wrote is correct. The solution with ajax refresh have a better performance and only runs what is needed.

You can learn about this topic and more in this link: https://www.outsystems.com/learn/lesson/1133/master-class-on-best-practices-and-timers/


Best regards,

Ricardo