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 › Why generic data type is not used to store data on some specific object in Salesforce?

    Tagged: Account Data Type, Account Object, Generic Data Type, sObject, Specific Object

    • Salesforce® Discussions

      Why generic data type is not used to store data on some specific object in Salesforce?

      Posted by MOHIT on January 20, 2020 at 10:47 AM

      Sobject is a generic data type. But if we insert some value in the account object through apex, by using Sobject as data type in place of account data type, we get an error message. why we cannot use sObject in place of any object name?

      eg.

      sObject add= new Account (name='ram');  //it shows error

      Account add=new Account (name='ram'); // this line  executed.

      • This discussion was modified 6 years, 5 months ago by  Forcetalks.
      MOHIT replied 6 years, 8 months ago 1 Member · 0 Replies
      • Account Data Type
      • Account Object
      • Generic Data Type
      • sObject
      • Specific Object
    • 0 Replies

    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

    The Growing Importance of Data Privacy in Software Development

    Blog in Others

    A shared concern in today’s society especially for the new age companies and consumers as well as the government performing their duties is data privacy.…

    Business Productivity, Healthcare & Wellness, online booking appoinmnet software, salon and barbar, Technology & Software
    Get Aug 1, 2025
    327  Views
    Inline edit support in custom component in Salesforce Lightning

    Inline Edit Support in Custom Component in Salesforce Lightning

    Blog in Lightning, Salesforce customization, Salesforce Implementation

    If you have a situation where you need to create a custom component with inline edit functionality then this article will help you. However inline…

    AURA, ChildInlineEdit, Custom Component in Salesforce, Inline Edit in Salesforce, LightningInlineEditCltr
    Ajay Prakash Jan 15, 2018
    26,908  Views

    Top 10 Salesforce Development Companies In India

    Blog in Salesforce, Salesforce Consultant

    Salesforce is the top-notch cloud-based CRM company all over the world. It is positioned as an intelligent CRM company, for businesses of all sizes -…

    AR, Automation, Business Requirements, Businesses, certified professionals
    Shailesh Aug 26, 2020
    8,290  Views

    Popular Salesforce Videos

    Service Resources and Territories in Salesforce | Salesforce Webinar

    Service Resources and Territories in Salesforce | Salesforce Webinar

    Video in Salesforce Field Service Platform

    Ensure seamless field service operations by setting up Service Resources and Territories in Salesforce Field Service the right way. Organize and manage field service operations…

    Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Field Service Platform, Salesforce Field Service
    AblyPro Jun 26, 2024
    878  Views
    Case Escalation In Salesforce | Salesforce Development Tutorial

    Case Escalation In Salesforce | Salesforce Development Tutorial

    Video in Salesforce Training

    Case Escalation in Salesforce. This video will cover the following points - 1. Case escalation Get a brief introduction about case escalation. 2. Configuration Take…

    Salesforce Training, salesforce, Salesforce Development Tutorial, Salesforce Video, Salesforce Learning
    Algoworks Jun 22, 2021
    2,133  Views
    Interested to Learn Salesforce? But Unsure Where to Start?

    Interested to Learn Salesforce? But Unsure Where to Start?

    Video in Salesforce Training

    Salesforce is a popular CRM tool for support, sales, and marketing teams worldwide. Salesforce services allow businesses to use cloud technology to better connect with…

    Salesforce Training, Salesforce Tutorial, salesforce services, Learn Salesforce, Salesforce Video
    Vivek Apr 25, 2022
    2,219  Views

    Popular Salesforce Infographics

    salesforce developer

    Salesforce Administrator Vs Salesforce Developer – Mainstreams of Salesforce Profession

    Infographic in Salesforce Admin

    Salesforce CRM training, an important requisite, can help people enjoy this Salesforce professional sustenance. Salesforce administrators and Salesforce developers are the popular and standard mainstreams…

    Salesforce, Salesforce Administrator, Salesforce Infographic, Salesforce Developer, Salesforce Admin
    Neha Yadav Jul 16, 2020
    5,687  Views

    Salesforce Summer'20 Release - Infographic

    Infographic in Others

    Salesforce, the world’s # 1 CRM is always on the lookout to connect to its customers, partners, employees with innovative features all around the world,…

    Salesforce, CRM, Customers, Employees, Salesforce Summer'20 Release
    AnavClouds Software Solutions Sep 1, 2020
    2,398  Views

    CUSTOMER SERVICE TIPS: 4 SECRETS TO OFFERING EXCEPTIONAL CUSTOMER SERVICE

    Infographic in Others

    When it comes to customer service, our friends at Salesforce have a few tips and tricks up their sleeve. We were thrilled to help them illustrate four…

    Salesforce Marketing Cloud, Customer Success, Salesforce Tips, Salesforce Infographic, Salesforce Users
    deepti jain Feb 5, 2019
    2,310  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.