87
Views
5
Comments
Solved
Data should not appear after saving in the input fields
Question
Application Type
Reactive

Hello Everyone,


My question : when i click on save button data is saving in database but it should not show in form input fields.. im using refresh aggregate also but still not able to find solution.

after saving data should not appera in inputfileds.

can u pls help me here..


Regards.

2022-08-03 04-32-50
Ravi Punjwani
Solution

You must be fetching the data on page load. Check if you have any Screen Aggregates, Data Action, or setting up some values inside OnInitialize, OnReady etc.

When you navigate to a screen, there's no chance that data could have loaded without explicitly setting a data fetch on your screen.

This can be easier to explain if you share your OML file.

2022-08-03 04-32-50
Ravi Punjwani

If you want to clear the data on the input fields after saving the data, then just manually clear the values of those variables which are attached to those input fields. Or simply redirect the user to the screen, it will refresh everything there and show as a brand new page again.

UserImage.jpg
Bilalhussaini Sayyed

Hi,


I'm redirecting to different screen and i tried to login again then same values are showing.


Reagrds.

2022-08-03 04-32-50
Ravi Punjwani
Solution

You must be fetching the data on page load. Check if you have any Screen Aggregates, Data Action, or setting up some values inside OnInitialize, OnReady etc.

When you navigate to a screen, there's no chance that data could have loaded without explicitly setting a data fetch on your screen.

This can be easier to explain if you share your OML file.

UserImage.jpg
Bilalhussaini Sayyed

Hi Ravi,


Yes , i was not passing the ID. thats why getting same data. 

it was minor but on huge data it was confused.

thanks


Regards.

2022-07-03 17-24-08
Sourabh sharma

Hi 

can you share the OML.

kind regards.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.