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 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 5 years, 12 months ago by  Forcetalks.
      MOHIT replied 6 years, 3 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

    [adinserter block="12"]

    Popular Salesforce Blogs

    Use Postman

    Introduction and How to Use Postman | Salesforce Developer Guide

    Blog in Salesforce integration

    Introduction Postman is a computer application it is used for testing APIs (Application Programming Interfaces). Postman sends an HTTP request to the webserver and receives…

    APIs, Application Programming Interfaces, Applications, Authentication Tab, Computer Application
    Arun Feb 1, 2022
    5,002  Views
    Salesforce Partners

    2020 Branding Guidelines for Partners in the Salesforce Ecosystem

    Blog in AppExchange, Salesforce

    The Salesforce Partner Program gives the opportunity to its partners to build and grow successful businesses while delivering customer success. With this program, Independent Software…

    AppExchange, Independent Software Vendors, ISVs, Salesforce, Salesforce Consulting Companies
    Algoworks Apr 14, 2020
    2,817  Views

    The All-New Salesforce Service Cloud - Transforming Customer Service from Anywhere

    Blog in Salesforce Cloud Platform

    Salesforce launched the next generation of Service Cloud, to support evolving customer service standards and deliver linked, personalized service from anywhere on a single digital…

    Artificial Intelligence, Businesses, Client, Consumer Acceptance, Contact Customer Service
    Apphienz May 4, 2021
    3,785  Views

    Popular Salesforce Videos

    Marketing Cloud To Become Customer Company

    Marketing Cloud To Become Customer Company

    Video in Salesforce Cloud Platform

    Leverage Marketing Cloud's ability to engage customers by delivering premium personalized experiences and building meaningful relationships with them. Contact Cyntexa to boost your business with…

    Salesforce Training, Salesforce Tutorial, Salesforce Integration, salesforce, salesforce services
    Cyntexa Dec 8, 2021
    2,549  Views
    How UiPath Robots Upload Files to Salesforce

    How UiPath Robots Upload Files to Salesforce

    Video in Salesforce Development

    How #UiPath Robots upload files to #Salesforce and assign to #Case without custom activity just RAW REST API. 0:00 Preview0:55 Intro1:20 Logic in one picture1:38…

    Salesforce Tutorial, REST, salesforce, Salesforce Video, Salesforce Learning
    Cristian Jan 14, 2021
    2,817  Views
    Salesforce Live Executive Experience: UK and Ireland 2021

    Salesforce Live Executive Experience: UK and Ireland 2021

    Video in Salesforce Stories

    At Salesforce Live Executive Experience we welcomed guests in-person and virtually to enjoy enlightening content, much missed networking and a performance from Jools Holland. The…

    Salesforce Training, Salesforce Tutorial, Salesforce Video, Salesforce Learning, Salesforce LIVE
    Pooja Jul 28, 2021
    1,719  Views

    Popular Salesforce Infographics

    Boost Efficiency with Salesforce Workflow Automation

    Infographic in Salesforce CRM

    Is your sales team bogged down by busywork? Let workflow automation be your hero!Give your team the gift of time!

    Salesforce, Workflow Automation
    AYAN Jul 11, 2024
    872  Views
    Salesforce Commerce Cloud

    Benefits of Salesforce Commerce Cloud

    Infographic in Salesforce Cloud Platform

    As the online marketplace is continuously growing in the global economy, it's important to have a feature-loaded and scalable e-commerce platform. Salesforce commerce cloud is…

    Salesforce Infographic, Salesforce Commerce Cloud, business, Online Marketplace, Global Economy
    Cyntexa May 13, 2021
    2,993  Views
    salesforce migration

    5 Advantages of Using The Salesforce Data Migration Tool in Your Organization

    Infographic in Data, Salesforce CRM

    Advantages Of Using The Salesforce CRM Data Migration Services In Your Company are: Fast migration process Repetitive deployment Suitable for both novice and advanced Salesforce…

    Salesforce, CRM, Salesforce CRM, Data Migration, Salesforce Data Migration
    Chloe Sep 2, 2022
    3,326  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.