Toggle Side Panel

  • Blogs
  • 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
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • 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
    • 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, 12 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.

    • [adinserter block='9']
    • 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

    Popular Salesforce Blogs

    Why Salesforce Lightning is the Key to Unlocking Your Sales Potential

    Blog in Salesforce

    Salesforce is the world's leading customer relationship management (CRM) platform, enabling businesses to manage their customer interactions, streamline their operations, and increase their revenue. With…

    App Builder, Automation, Bolt Solutions, Business, Challenges
    Infodriven May 17, 2023
    1,411  Views
    Sales Cycle in Salesforce

    Sales Cycle in Salesforce - How to Better Manage!

    Blog in Sales, Salesforce

    Like a blueprint or an architecture is a must for all to enhance their productivity in Salesforce, we have a sales cycle to follow up the…

    Business, Campaign, Contact, Data of Customers, Lead
    Akash Varshney Sep 14, 2022
    2,152  Views
    CRM Trends 2021

    The Year in Review for Salesforce CRM: 2021 CRM Trends, Changes, and News

    Blog in Others

    2021 brought another year of unprecedented growth for CRM. Even before COVID-19 struck, digital commerce was disrupting traditional retail. Brick and mortar stores faced a…

    Built New Solutions, Business Solution, Businesses, Certification Courses, Collaboration Tools
    Anastasiia Dyshkant Dec 16, 2021
    3,143  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®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.