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

On click event not working for button control

SA-30469

Summary



On click event is configured for button control to open navigation rule. This event is not firing once the work item is resolved.

Error Messages



Not Applicable

Steps to Reproduce



1.Add a button in the review harness to show the menu on click on this with a condition that when a work item is in resolved state.
2.Create any case and open it in a review Harness.


Root Cause



An issue in the custom application code or rules, there is a transaction id mismatch was happening.

Resolution

In a non autogenerated section put the below code :

<script>

var newurl = SafeURL_createFromURL(pega.u.d.url);

    newurl.put("pzFromFrame","");
    pega.u.d.url = newurl.toURL();
    var url = document.forms[0].action;
    var formURL = SafeURL_createFromURL(url);
    formURL.put("pzFromFrame","");;
    document.forms[0].action= formURL.toURL(); 

</script>


 

Published November 22, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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