-
Why generic data type is not used to store data on some specific object in Salesforce?
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 3 years, 12 months ago by Forcetalks.
Log In to reply.
Popular Salesforce Blogs
Salesforce Admin Tips For A User-Friendly Org
When we talk about the term user-friendly, what comes to your mind? Obviously, something that is not difficult for the user to use? Now when…
5 Reasons To Use Salesforce As Your Healthcare CRM
Although many may argue that businesses across all sectors are similar when it comes to certain factors or essential operational aspects, there are some businesses…
Small business’s customer service dilemma: Salesforce Desk.com or Service Cloud Essentials?
Browsing through Salesforce offerings, small businesses may feel as if they were at a huge, noisy, exotic market somewhere in Asia: there’s so much to…
Popular Salesforce Videos
Fillable PDFs for Salesforce Field Service
The ability to generate fillable PDFs for Salesforce Field Service can be a powerful tool. We demonstrate how to use PDFLib, a JavaScript library that…
Salesforce Interview Questions and Answers - For Freshers and Experienced Candidates
Learn most important Salesforce Interview Questions and Answers, asked at every interview. These Interview questions will be useful to all entry-level candidates, beginners, interns, and…
Salesforce Spring ’21 Release Highlights
To improve the platform, Salesforce releases updates three times a year (Spring, Summer, Winter). This is the time for Salesforce Spring ’21 Release. With Salesforce…
Popular Salesforce Infographics
Salesforce Engage : Best Practices Guide for Sales Users
Salesforce Engage is a new solution from Salesforce Pardot that unites Sales and Marketing teams to sell more effectively than ever before. With Salesforce Engage,…
Salesforce IoT Cloud System - Connect With Your Customers Proactively
The Salesforce IoT Cloud is a platform for storing and processing IoT data. It uses the Thunder engine for scalable, real-time event processing. Its collection…
Your Guide to Salesforce Certifications
In the age of customer experience, businesses now rely on their CRM systems more than ever. As the world leader in CRM software, Salesforce knows…