Posted: 10 Sep 2015 2:58 EDT Last activity: 11 Dec 2015 22:03 EST
I want to close the window and the work item without the "Close Work item" pop up confirmation message, how do I do that?
I have a OOTB button which has "cancel" on click operation. If I want to close the window and the work item without the "Close Work item" pop up confirmation message, how do I do that? Please advise. I am using PRPC 7.1.7. Thanks!
Message was edited by: Kip Jackson
Modified the title
What is the popup message stating? Is it something like "are you sure you want to navigate" ?
If so please set the Java script flag as pega.u.d.gDirtyOverride = false; in any of your section if you need it locally or if you need this feature across ur system, you can add this java script flag in the HTML rule called userworkform.
The message is rendered from pydirtycheckconfirm section. The message is "You are about to close a work item which has changes that have not been saved" with cancel and discard buttons. I would like to bypass this message and directly close the work item and window without the warning.
Thanks Ashish and Phani. Disabling the flag bypassed the pop up dialog. Between @Phani can you tell me how did you navigate to this section?
@Chunzhi. Sorry. Cannot share the screen shot due to client policies. I can tell you that this is from my perform harness after doing some UI changes. Normal scenario it wont pup up. If you have UI changes like data being entered, you would be pop'ed up with this warning.