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

    Here's How You Can Ease Operations for Your Non-Profit Organization: With a Salesforce Customer Portal

    Blog in Salesforce

    Salesforce's powerful customer portals give you the tools to keep your organization running efficiently and provide your members, donors, and customers with more self-service and…

    Campaign Management, Client-focused Communications, Cloud-based Software, Colour-coded Calendars, Commerce
    CRMJetty Dec 20, 2022
    2,353  Views
    Salesforce Pardot

    Getting Started With Salesforce Pardot | The Basics

    Blog in Others, Salesforce Products

    Pardot Pardot is Salesforce's B2B selling automation robotization arrangement. In case you're a business that offers to various organizations (or B2B), Pardot can computerize your…

    Associations, Automation Robotization, B2B Selling, Best Possibilities, Business
    Ratnesh Apr 9, 2021
    3,651  Views

    How to Send and Receive Data from Web Services

    Blog in Coding and Scripting

    Web Services are the best part of Salesforce Development through which one can able to make the code available on the network for use. Through…

    Get Method, HTTP Methods, HTTP Requests, JSON, POST Method
    Archit Dec 19, 2018
    11,085  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.