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

    Custom Metadata Test Class Coverage in Salesforce

    Custom Metadata Test Class Coverage in Salesforce

    Blog in Salesforce customization

    When we want to implement custom Logic with IF/ELSE cases then in many scenarios we use Custom Metadata Types. But when we try to cover…

    Custom Metadata Types, Custom Settings in Salesforce, Metadata Component, Salesforce Custom Objects, Salesforce Customization
    Manpreet Apr 16, 2018
    60,480  Views

    All About Bric APP

    Blog in Others

    Owing to numerous queries on what we do and how different are from the rest of the Business card scanner APPS, Card readers etc, we…

    BricAPP, Business Card Reader, Business Card Scanner, contact management app, Contact Management in Salesforce
    Iatsham Jan 12, 2018
    3,903  Views
    field service

    Transforming Field Service Operations by Leveraging Technology and The Salesforce Ecosystem

    Blog in Salesforce Products

    Field Service is a critical functional area for any industry that needs to physically move goods or personnel; essentially involving inventory management, fleet management, and…

    Artificial Intelligence, Assets, Business, Business and Process Consulting, Cases
    Alok Jun 17, 2020
    3,314  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.