How to avoid hardcoding of ouput link value in VF email template?


URL.getSalesforceBaseURL().toExternalForm() We can use this in Apex class.. But in VF page we need to use `$CurrentPage.URL` this will return complete url of current page.. Example  SO just remove …

Source: How to avoid hardcoding of ouput link value in VF email template?

Advertisements