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

How to Learn Salesforce Development | Salesforce learning steps for beginners | Trailhead demo

Video in

In this video, we shared the steps to learn salesforce lightning basics, salesforce apex development, CRM in online for free from scratch very quickly. Learn salesforce…