Support Article
Max number of threads/tabs warning message
SA-16359
Summary
When working on multiple cases in the Case Manager, a warning message of, "You have reached the maximum limit for pending changes. Please commit/cancel one or more changes to continue" will appear when the limit is reached.
The maximum document limit set in Layout Properties of pyPortalContent is 16.
The warning message is expected as per configuration. However, is there a way to suppress the warning message?
Error Messages
Not Applicable
Steps to Reproduce
Open more than 16 documents in the Case Manager Portal.
Root Cause
The warning message is expected as designed.
Resolution
Add RULE-HTML-SECTION @BASECLASS PXDISABLECLIENTDIRTYDETECTION in the portal.
Since pxDisableClientDirtyDetection section contains javascript code prevents a case to become "dirty", the unwanted warning message does not appear.
if(pega){
if(pega.u){
if(pega.u.d){
pega.u.d.attachOnload (function(){pega.u.d.gDirtyOverride = false;
}, true);
}
}
}
Include the section inside the UserWorkForm HTML fragment as below:
There is a side effect. After setting pega.u.d.gDirtyOverride to false, the document will never be considered as a dirty document.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.