Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Marketplace
    • Advertise With Us
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › Field reset on Convert Lead so SOQL cannot query sensitive information in Salesforce

    Tagged: Account Permissions, Apex Trigger, Before Update, Convert Lead, Leads in Salesforce, Read Only, Records, SOQL Query

    • Salesforce® Discussions

      Field reset on Convert Lead so SOQL cannot query sensitive information in Salesforce

      Posted by Aman on September 22, 2018 at 6:32 PM

      Once you convert lead, few fields on lead should be reset so that sensitive information should not be queried using SOQL. How to get this done in Salesforce?

      Parul replied 7 years, 2 months ago 3 Members · 2 Replies
      • Account Permissions
      • Apex Trigger
      • Before Update
      • Convert Lead
      • Leads in Salesforce
      • Read Only
      • Records
      • SOQL Query
    • 2 Replies
    • shariq

      Member
      September 22, 2018 at 6:32 PM

      Once lead is converted, its READ ONLY. we cannot update it using Apex or Trigger. However we can use “Before Update” trigger on lead and check for fiels “IsConverted“. If its true means lead is going to be converted so reset all fields in that case.

    • Parul

      Member
      September 23, 2018 at 6:00 AM

      Have you looked at the “View and Edit Converted Leads” permission? A user with that permission can view the actual record of a converted lead. Without the permission when you click on a converted lead you will automatically be navigated to the contact or account.

      Thanks

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    application solution

    Popular Salesforce Blogs

    Salesforce Training and Change Management

    Why Should you Invest in Salesforce Training and Change Management?

    Blog in Salesforce Implementation, Salesforce Training

    When you invest in a CRM such as Salesforce, it is easy to focus on the implementation itself. You need to consider how you will…

    Change Management, Communication, Communications, CRM, Implementing Salesforce
    Stimulus Consulting Dec 19, 2022
    1,554  Views

    The Impact of Salesforce Certification on Your Salesforce Career

    Blog in Salesforce Certifications

    Introduction  In today's fast-paced and highly competitive job market, having a Salesforce certification can make all the difference in your Salesforce career. Whether you're already…

    Career Advancement, Career benefits, Career Development, Career Growth, Career Opportunities
    SF Oct 25, 2023
    1,235  Views
    Salesforce Apex Trigger

    Salesforce Apex Trigger - Count Number of Open Tasks and Closed Tasks on the Account.

    Blog in Others

    Hello guys, Today, I'm sharing the trigger code that how you can count the number of open tasks and closed task on the account. For…

    Apex Trigger Code, Closed Task Field, Open Task Field, Salesforce Account, Salesforce Account Management
    Avnish Yadav Sep 9, 2018
    13,709  Views

    Popular Salesforce Videos

    AMPscript Personalised Subject Lines in Salesforce Marketing Cloud

    AMPscript Personalised Subject Lines in Salesforce Marketing Cloud

    Video in Marketing

    Cameron Robert from Datarati demonstrates how to use Subscriber Data and AMPscript to personalize your email Subject Lines in Salesforce Marketing Cloud. What you'll learn:…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Marketing Cloud, Salesforce Video
    Cameron Sep 5, 2025
    1,392  Views
    Salesforce Development Tutorial - sObjects

    Salesforce Development Tutorial - sObjects

    Video in Salesforce Development

    It is very easy to learn Salesforce with the world class training tutorial. Training is key for the right knowledge. Those who work as an…

    Salesforce Development, How to Salesforce Development, Best Salesforce Tutorials, Free Salesforce Tutorials, Salesforce Video Tutorials
    Shiv Kumar Sharma Apr 20, 2018
    1,788  Views
    How to Send a Pardot Email with Multiple Line Items | Salesforce

    How to Send a Pardot Email with Multiple Line Items | Salesforce

    Video in Salesforce Products

    It is impossible to send a Pardot email that has a list of related records… or is it? In this session, Adam Erstelle uncovers strategies…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Learning
    Abhishek Nov 30, 2021
    1,444  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2025 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.