1

Have a seemingly easy request that I can't find a workable answer to. Trying to add an internal link to an error message thrown on a Lightning Communities page, but so far no luck. FWIW, the code:

public static final String ERROR_SUPPORT_OPEN_CASE = 'We are unable to process your request. Please <a href="/gethelp">open a case</a>';

else {
    rw.message = ERROR_SUPPORT_OPEN_CASE.unescapeHtml4();
    rw.isSuccess = false;
    return rw;
}

Per various articles, this isn't supported yet in Lightning. Wut.

Any ideas? Thanks! enter image description here

  • How are you showing this message? You can try lightning:formattedRichText for showing link. – Dhanik Lal Sahni Nov 23 '19 at 15:16
  • Can you add more details as what are you using on front-end to show the message? Is it Lightning component or a visualforce page? – Avinash Kumar Nov 25 '19 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.