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, 2 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

    All You Need to Know About Workbench in Salesforce

    All You Need to Know About Workbench in Salesforce

    Blog in Others

    Salesforce Workbench is a powerful tool for developers and administrators who work with Salesforce on a regular basis. It is an online application that allows…

    Auto-complete, Beginners, Code Snippets, Custom Fields, Data Management
    Mohit Kumar Apr 25, 2023
    1,676  Views

    5 Best CRM Integrations with QuickBooks for SMBs 2022

    Blog in Others, Salesforce integration, Salesforce Products

    It's crucial that your CRM and QuickBooks work together. Due to this, most CRMs on the marketplace have acted and offered a method to integrate…

    Automation, Automation Solutions, Behavioural Insights, Business Operations, Business Owners
    Cynoteck Oct 25, 2022
    2,014  Views
    Learn All About the Batch Apex in 2023

    Learn All About the Batch Apex in 2023

    Blog in Salesforce Apex

    The main purpose of using Batch Apex is used to process a large amount of data without exceeding governor limits. It is a type of…

    API Bulk Updates, API Call, Batch, Batch Apex, Batch Apex Class
    saurabh Jan 10, 2023
    1,827  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.