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 › Which Objects can we access without using seeAllData=true?

    Tagged: Apex Class, Apex Component, Apex Page, AsyncApexjob, Corn Trigger, Custom Metadata Type, Record Type, Salesforce Objects, seeAllData

    • Salesforce® Discussions

      Which Objects can we access without using seeAllData=true?

      Posted by Prachi on August 2, 2018 at 2:04 PM

      Which Objects can we access without using seeAllData=true?

      shariq replied 7 years, 4 months ago 5 Members · 4 Replies
      • Apex Class
      • Apex Component
      • Apex Page
      • AsyncApexjob
      • Corn Trigger
      • Custom Metadata Type
      • Record Type
      • Salesforce Objects
      • seeAllData
    • 4 Replies
    • Avnish Yadav

      Member
      August 3, 2018 at 6:18 AM

      Hi Prachi,

      We use seeAllData = true to get real-time data in the test class, but without using this also you can get the data from the following objects.
      User, profile, organization, AsyncApexjob, Corntrigger, RecordType, ApexClass, ApexComponent, ApexPage and custom metadata types.

      Thanks.

    • madhulika shah

      Member
      September 17, 2018 at 10:33 AM

      Hi,

      use the isTest(SeeAllData=true) annotation to grant test classes and individual test methods access to all data in the organization,

      1) If a test class is defined with the isTest(SeeAllData=true) annotation, this annotation applies to all its test methods whether the test methods are defined with the @isTest annotation or the testmethod keyword

      2) The isTest(SeeAllData=true) annotation is used to open up data access when applied at the class or method level

      Use the isTest(SeeAllData=true) means you need to create the test data in your org.

      Thanks.

    • Parul

      Member
      September 21, 2018 at 10:22 AM

      hi

      User, profile, organization, AsyncApexjob, Corntrigger, RecordType, ApexClass, ApexComponent, ApexPage and custom metadata types. when we use seeAllData = true to get real-time data in the test class, but without using this also you can get the data from the following objects.

       

      Thanks

    • shariq

      Member
      September 22, 2018 at 3:43 AM

      Hi,

      • User
      • profile
      • organization
      • AsyncApexjob
      • Corntrigger
      • RecordType
      • ApexClass
      • ApexComponent
      • ApexPage
      • custom metadata types.

      Hope this helps

    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 Lightning Web Components Developer Guide Chapter 2: Markup Basics

    Blog in Lightning

    Here is the second article in our series, where we delve into the LWC basics. In the previous article, we discussed the basic principles and…

    Communication, Communication Between LWC Components, Conditional Elements Rendering, Conditional Rendering, Consistent Appearance
    Sparkybit Dec 11, 2023
    1,067  Views

    Salesforce Apex Trigger

    Blog in Salesforce Apex

    By using Apex triggers, you may execute custom code before and after specific Salesforce record events, such as inserts, changes, and deletes. Apex offers trigger…

    APEX Programming Language, Apex Script, Apex Trigger, Apex Trigger Code, Child Objects
    Hexaview Dec 23, 2022
    2,975  Views
    Essential features of Salesforce Marketing Cloud

    What Are the Three Essential Features of Salesforce Marketing Cloud?

    Blog in Salesforce

    Salesforce Marketing Cloud is the automation platform that receives the highest praise and boasts the greatest number of features of any product of its kind.…

    Cloud Venture, Contact Data, Customer Experience, Customer Experiences, Customer Journeys
    Hennery cavil Jan 30, 2023
    1,918  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

    © 2026 - 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.