In a long overdue post to this post, I thought I would mention how you can clear the “Dirty” flag in the SalesLogix web client.
Similar to how you can mark the screen “Dirty” using the ClientBindingManagerService, this service also exposes a couple of functions to “Clean” the screen. Namely, “ClearDirtyStatus” which removes the little warning at the top of the screen, and “TurnOffWarnings” which prevents the “Are you sure you want to navigate away…” Client prompt.
For example:
var flagmgr= Sage.Services.getService(‘ClientBindingManagerService’);
if (flagmgr) {
flagmgr.clearDirtyStatus();
flagmgr.turnOffWarnings();}



