How to hide pega OOTB dialog window "You are about to discard your unsaved changes."

In pega, on performing some action on the assignment shape. When we click on the other actions button or directly closing the interaction. Pega displaying a OOTB dialog window that displays “You are about to discard your unsaved changes.” We have a requirement to hide the default pop-up when switching to other assignments when clicking on the other actions menu.

@SaiKumarT0379 As this is a ootb feature I would suggest it’s better to keep as it is and convince the end user regarding the benefits of it. Loss of unsaved work by mistakes will be reduced if we have this feature.

Hi @SaiKumarT0379: It is always better to have the OOTB features. Dirty pop-up will help the users by alerting unsaved changes in the form.

If there is a real need, please follow the below.

Thanks.

@SaiKumarT0379 you can achieve this by any of the below mentioned options (1st is preferable)

Include OOTB section @baseclass.pxDisableClientDirtyDetection into the section rule where you do not want the dirty pop-up OR add it to the main harness.

OR

add this to the text file : pega.u.d.gDirtyOverride=false;