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

Work link correspondence fragment is not working

SA-31897

Summary



In correspondence user has configured the Hyperlink.

In email, when clicking on link an alert popup is displayed.


Error Messages



"Disabled Link"


Steps to Reproduce



1.Create an correspondence with an active link.
2.Open the email and click on the link.
 

Root Cause



A defect in Pegasystems’ code or rules.

Resolution



Perform the following local change:

Open show HTML rule of class Data-Corr-Email:

In function disableAnchors, make the change:

Before the change:

 function disableAnchors(frameDoc) {

    for (i=0; i<frameDoc.links.length; i++) {
        frameDoc.links[i].href = "javascript:alert('Disabled link: " + frameDoc.links[i].href + "');"; 
        frameDoc.links[i].target = "";
    }
}


After the change:

function disableAnchors(frameDoc) {
    for (i=0; i<frameDoc.links.length; i++) {
    /*    frameDoc.links[i].href = "javascript:alert('Disabled link: " + frameDoc.links[i].href + "');"; */
        frameDoc.links[i].target = "_blank";
    }
}


 

 

Published January 5, 2017 - Updated October 8, 2020

Was this useful?

100% 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