Activity Forums Salesforce® Discussions Can anyone please explain me how to hide record id(e.g. LeadId) in email template body?

  • Aman

    Member
    May 1, 2018 at 8:36 AM

    Hi Rajan,

    You can use the below code :

    <div style = display:none;>
    #$$$$$${!Lead.Id}##
    </div>

    Thanks

  • [adinserter block='9']
  • PRANAV

    Member
    May 1, 2018 at 9:29 AM

    Hi Rajan,

    You have to create a HTML or Custom email template for this first.

    Then you can use display:none in your div tag in html section.

    OR

    You can use visibility tag in header tag also.

    h2.a {
    visibility: visible;
    }

    Hope this helps you more.

  • shariq

    Member
    September 20, 2018 at 6:43 PM

    Hi,

    Put the above code in section like div and through css hide it.

    Hope this helps.

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…