Post Closed
21
Views
2
Comments
Solved
Passing inputparameter from OnApplicationResume
Question

Hi Team,

As per our requriement when the app is comming from background to foreground then we need to update the data so for that, after observing onApplicationResume will be called when the app is coming to foreground in this case we want pass particular inputVariable to the screen, so that we can get the updated data from the server, how to achive this.Please advice your thoughts.


Thanks

Harish

2023-09-26 10-34-09
Cristiana Umbelino
Solution

The OnApplicationResume only works with local variables and its goal is to perform logic that is more system oriented (welcome the user back, check connectivity or state of app).

Can you please be a bit more specific on what type of data are you trying to refresh?

Also, this post from bfcantante might help you: https://www.outsystems.com/forums/discussion/45432/mobile-onapplicationresume-change-screen-variable/#Post165312

UserImage.jpg
Harish Yerra

Hi Cristiana,

Thanks for your help. The link you posted in the above post worked for me.


Thanks

Harish