-
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
What is Salesforce Einstein Analytics, Benefits, and How does it Work?
Salesforce Einstein Analytics, a revolutionary tool in the Salesforce ecosystem, has transformed the way businesses analyse and interpret data. With a focus on providing actionable insights, Einstein…
How to Automate Salesforce Call Logging to Save Time and Increase Productivity
Calls are one of the most significant tasks of sales reps. All the emails that you send and all the social outreach you do is…
ANT Script For Data Migration
ANT Script for Meta Data Migration : It is a command-line script which is based on java and is used to migrate metadata between two…
Popular Salesforce Videos
Embedding Salesforce Einstein Predictions in Tableau with Tomasz Bacewicz
Get the most out of Salesforce Einstein Discovery and Tableau by embedding Predictions directly in your Dashboards! Learn how from a pro. Watch this video…
Dreamforce 2021 FAQs
As the fall continues to approach, questions around Dreamforce 2021 continue to increase and that's why we've gone ahead and answered all the FAQs around…
How to Become a Salesforce Developer? No Programming Experience Needed
Salesforce Developer has once again been named one of the world's best jobs. In a list of 25 job roles, Salesforce was the only company…
Popular Salesforce Infographics
5 Essential Skills for Salesforce Developers
Calling all aspiring Salesforce developers! Conquer the platform with these 5 must-have skills: ✅ Expertise ✅ Coding chops ✅ Problem-solving power ✅ Teamwork & communication…
Success With Salesforce For Full Cycle Reps
I am presenting this infographic to help full cycle sales reps get the most out of salesforce and their Sales Engagement platform.
Streamlining the Sales Process with Salesforce CPQ
Implementing Salesforce CPQ offers numerous business advantages, such as automating tasks, including sales quotations and price determination. Businesses that use Salesforce CPQ can expect increased…