I need to refresh my screen on mobile every 5 second , i am doing it the same way we did it in web but it just working once , i want to work it as timer which runs every 5 second.
Do the following:
2) place the following code: $parameters.TimerHandle = setInterval($actions.MyAction, 5000);
3) store the TimerHandle in a local variable of the screen to use it later
5) insert there the following code: clearInterval($parameters.TimerHandle);
Thanks for the quick response ..Can you please share example oml .
Sorry, I didn't make any oml. Currently away from my computer.
Check out the documentation for more help: