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 › Why we use sObject in code instead of an object?

    Tagged: Account, Contact, Salesforce Custom Object, Salesforce Force.com, Salesforce sObject

    • Salesforce® Discussions

      Why we use sObject in code instead of an object?

      Posted by Gourav on April 28, 2016 at 12:54 PM

      Why we use sObject in code instead of an object, i.e Account,Contact or any custom object? Can anybody explain something about it?

      Surbhi replied 9 years, 5 months ago 2 Members · 1 Reply
      • Account
      • Contact
      • Salesforce Custom Object
      • Salesforce Force.com
      • Salesforce sObject
    • 1 Reply
    • Surbhi

      Member
      June 17, 2016 at 1:18 PM

      Hi Gourav,

      sObject is a generic abstract type that corresponds to any persisted object type. The generic sObject can be cast into a specific sObject type and object can be of JSON object. While JSON parsing, after parsing I got object which is of JSON object type. I am referencing that JSON object with object.

      Thanks

    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

    Unleashing Potential: A Strategic Roadmap to Salesforce Staff Augmentation

    Blog in Others

    In the vast landscape of business evolution, there exists a compass that navigates the treacherous waters of innovation and efficiency—Salesforce staff augmentation. This strategic beacon…

    Augmented Staff, Captain, Communication Gaps, Communication Storms, Effective Communication
    360degreecloud Salesforce Feb 1, 2024
    1,345  Views

    Optimize your nonprofit donation form

    Blog in Salesforce Implementation, Salesforce Products

    Salesforce as gone the extra mile when it comes to Nonprofit organization, they offers not only huge discounts, but also 10 free licenses, for that…

    Non Profit CRM, Salesforce for Non-Profits, Salesforce Forms, Salesforce Non Profit
    Ori Oct 4, 2017
    3,496  Views
    salesforce Records

    How to Get the Failed Records Through Database.Insert/Upsert | Salesforce Developer Guide

    Blog in Others, Salesforce Apex

    Salesforce provides a variety of options for DML. Consider a hypothetical requirement where you need to save the data from a file into your database.…

    Aura Lighting Components, Blob, Component, Controller, CSV Files
    krati vishnoi Mar 24, 2021
    9,003  Views

    Popular Salesforce Videos

    What is APEX? | Features of APEX | Salesforce Development Course

    What is APEX? | Features of APEX | Salesforce Development Course

    Video in Salesforce Apex, Salesforce Training

    This is the first Chapter of the Salesforce Development Course video series. In this video, Shrey has answered the following questions: What is APEX? What…

    Salesforce Training, Salesforce Tutorial, Salesforce Development, salesforce, Apex
    Prafull Jun 18, 2021
    1,960  Views
    Which Objects are in the Salesforce Sales Cloud and Service Cloud?

    Which Objects are in the Salesforce Sales Cloud and Service Cloud?

    Video in Salesforce Cloud Platform

    Salesforce comes with a large number of standard objects that are integral to Salesforce, but you can also create custom objects. We’ve compiled a list…

    Salesforce Tutorial, Salesforce Sales Cloud, Salesforce Service Cloud, SOAP, Apex SOAP API
    Abhay Jan 19, 2018
    4,955  Views
    Salesforce Heroku Integration | Heroku Connect

    Salesforce Heroku Integration | Heroku Connect

    Video in Salesforce Integration

    Heroku is a cloud platform that lets deploy, run and manage applications and websites. It is part of Salesforce Platform. This video will explain about…

    Salesforce Training, Salesforce Tutorial, salesforce platform, Salesforce Video, Salesforce Learning
    Jogender Jul 26, 2021
    4,770  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.