Enable Dirty Data Warnings in Redwood Sales

Dirty Data Warning in Redwood Sales allows administrators to enable system-wide alerts that prevents users from unintentionally losing unsaved changes. When activated, users are prompted with a warning message if they attempt to navigate away from a page with modified or unsaved data. The pop-up gives users the option to either discard their changes or return to the page to save updates.

You can configure this for each App UI as follows:

  1. Open your container page in Visual Builder Studio.
  2. In the Variables tab, under Constants, select dirtyDataWarningEnabled.
  3. Set Default Value to true.
Note: If you created a Custom Object in a previous release and don’t see the dirtyDataWarningEnabled constant, create a new constant named "context" and set the Default Value to {"dirtyDataWarningEnabled": true}.