Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Dirty form pop up rendering when using desktopDefaultView

SA-6048

Summary



When attempting to complete a call transfer (using desktopDefaultView('Work','Interaction Manager') to display a portal), a message "Are your sure you want to navigate from the page" on screen is unintentionally displayed.

Error Messages



Not Applicable. 


Steps to Reproduce



1. Create a button to reference a custom section.
1) Use desktopDefaultView('Work','Interaction Manager') in the code of the custom section.


Root Cause



The root cause of this problem is that the interaction form is being closed when values are present. Due to this, a dirty pop up is shown, as an expected behavior.


Resolution



This issue is resolved by adding the following script in the userworkform:-

 
<script>
if (parent && parent.pega && parent.pega.u && parent.pega.u.d) {

     parent.pega.u.d.gDirtyOverride = false;
}
pega.u.d.gDirtyOverride = false;
</script>
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us