I need to auto refresh the screen whenever user make changes in the criticality flag so that when user made any changes in any one of the daily,weekly,monthly,yearly then it will reflect in all other.
Below is my oml attached in that WH_Requirement suggestion is my screen i am working on.
In the criticality flag action, you can set the end node to destination pointing to the current screen.
Hi Shalini,
Refresh your aggregate you want to.
Reagrds,Amreen
I am working on WH_requirement suggestion screen
Hi @Shalini D M
If you want to refresh the data displayed on screen then in that case, you need to refresh the aggregate from which you are fetching the data.
Or If you want to refresh entire screen then replace the End node of the trigger action with destination widget that already highlighted in below attached image. Select your current screen on which you are working on as your destination.
Thanks,
Himani
Since you are using Navigation tab, you can achieve this by refreshing the tabs on change.
Check this below post on how to refresh the tabs on change, this will help on how to resolve your issue.
https://www.outsystems.com/forums/discussion/73800/trigger-refresh-aggregate-of-block-when-tabsonchangetabs-from-parent-navigation/
Document for Tabs,
https://success.outsystems.com/documentation/11/developing_an_application/design_ui/patterns/using_mobile_and_reactive_patterns/navigation/tabs/
I have attached the OML which was added in above post for your reference.
Regards,
Wasimkhan S
Still not working
Whenever i change the critical flag in any of the daily tab then it is reflecting in every other tabs like weekly and monthly only when the user refresh or when he logout and re login , but what i need is when i change the criticality flag in daily it should automatically reflect in all other weekly and monthly without user manually refresh the screen. @Prince Aadil khan Panwar can you please help
From what I understand you are trying to update three other blocks when you change the data in one block for which you would have to trigger the OnParametersChange of the blocks which you can achieve by toggling a boolean in your WH_Requirement_Suggestion block which would be an input into your 4 child blocks and in the OnParameterChange of the blocks you would refresh the data actions.
I have updated your OML. Can you check and confirm if it works.
Regards,Wasimkhan S
I tried this but its working for daily, weekly, quaterly but its not working for monthly and yearly @Wasim Khan
Kindly follow the same steps for month and year that was followed in daily, weekly, quarterly.
i have done the same thing but its not displaying
Were you able to add record in monthly and yearly tab. Can you share the document like you have shared earlier.
unable to send the file as it is too large
the thing is yearly and monthly datas are linked so they are not working but when i change monthly ,yearly is working can i know how they are linked together
Am not getting you. Can you please elaborate.
If it works for Daily, weekly and Quarterly tabs. If we follow the same steps , it will work for other tabs as well.
Thank you for the help, its working now.
Great.
Happy coding. Can you mark the solution to end the discussion.
I have one more query.
If we modify in day tab ,its reflecting in all tabs , but in reverse order if i modify in year tab ,its not reflecting in other tabs.
what might be the reason can you please help me with this.
Can you share the document by modifying data in Years tab and click on other tabs and show the result.
Like the one you have shared the document earlier.
Did you check?