-
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 6 years, 3 months ago by
Forcetalks.
-
This discussion was modified 6 years, 3 months ago by
Log In to reply.
Popular Salesforce Blogs
Salesforce Duplicate Management | The key to cut down the roots of duplicity
Duplicity is the bane of any database. On average, 40- 50% of a company’s data has duplicate copies spread all across the organization. These copies…
Read this before you perform your Salesforce Data Migration
Salesforce Data Migration — Imagine if you were traveling to an exotic new destination for the holidays. You want to make sure that everything is…
Steps to Become a Salesforce Developer
Salesforce development is a rapidly expanding IT career with a significant potential for outstanding payroll growth and industry recognition. It also enables a person to…
Popular Salesforce Videos
Developer Preview Live - Release Readiness Live, Winter '22 | Salesforce
The Winter ’22 release is packed full of features to help developers solve key business problems fast. Join us to learn from Product Managers and…
Is the Salesforce Marketing Cloud the Future For Business?
As the market changes, one needs to keep up with the times. Companies are interested in Salesforce Marketing Cloud because it gives them a competitive…
5 Facts You Didn't Know About Salesforce
In this video, we have tried to share some amazing facts about Salesforce, the world leader in CRM, that you didn't know about so that…
Popular Salesforce Infographics
Salesforce Buzz | An Infographic
While Salesforce has been coined as the World's #1 CRM, there has been a constant buzz around the stats and facts of it. Almost 58%…
Top Salesforce Trends For 2023
When it comes to managing customer databases, Salesforce is leading the pack. Companies are increasingly relying on this powerful tool for its unrivalled flexibility and…
How Salesforce Admins Manage their Data?
No matter how long you’ve been working within Salesforce, it’s important to regularly evaluate the data management systems you have in place and review the…