Activity Forums Salesforce® Discussions How to get “https” link for Visualforce page in Salesforce?

  • Piyush

    Member
    August 22, 2019 at 3:30 am

    Hi Prachi,

    Use this to get “https” link instead of “http” for Visualforce page using URLFOR() in Email Template:-

    <a href='{!SUBSTITUTE(URLFOR('/apex/SomePage', null, [id=Some_Object__c.Id,retURL="/apex/SomeOtherPage"]),'http:','https:')}'>Go to SomePage here!</a>

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos