Monday, 10 March 2025

Do you want to save your changes? Click Yes to go back and save, No to discard your changes.

 

I have two components. I am transferring data from the first component to the second component using transfer code. In the second component, there is a button labeled "RETURN BACK." When I click this button, the transfer code is executed to return to the first component. However, when I click the "RETURN BACK" button, a message is displayed: "Do you want to save your changes? Click Yes to save and go back, or No to discard your changes." This happens even though the data has already been saved.




In order to avoid this, I used the peoplecode  SetSaveWarningFilter( True) .


Calling SetSaveWarningFilter with True input parameter causes the subsequent page to ignore the SaveWarning.



No comments:

Post a Comment