-
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 Community Cloud? Learn About its Features and Benefits
What is Salesforce Community Cloud? Salesforce Community Cloud is an online social platform for businesses to create branded pages that connect customers, employees, and partners.…
Introducing Salesforce Starter For Indian Business
In today's competitive landscape, micro, small, and medium-sized enterprises (MSMEs) in India strive to stand out, enhance customer experiences, and drive revenue. To address these…
Multipart/form-Data in Salesforce Integration | The Developer Guide
Does Grandmother say you can't post a Multipart/structure information utilizing an HttpRequest in APEX? All things considered, on the off chance that she says this…
Popular Salesforce Videos
What is Field Dependency in Salesforce and When to use it?
This video gives a complete knowledge of what Field Dependency is in Salesforce. It's divided this topic into 4 major points that are: 1. What…
Passed Salesforce Certification Exam in First Attempt
Salesforce certifications come in all shapes and sizes, so nearly anyone who works in Salesforce and wants to learn more about the tool can find…
Salesforce Staff Has Option to Keep Working From Home
Dan Bognar, head of the strategy for Asia at Salesforce.com Inc., discusses how the coronavirus outbreak is affecting the San Francisco-based software maker’s operations and…
Popular Salesforce Infographics
Automation Tools In Salesforce
Automation tools in Salesforce can eliminate monotonous tasks, freeing up an admin’s time to do more profound things. These tools include Workflow Rules, Process Builder,…
Sales trends and performance: ANZ versus global
Technology is pushing customer expectations to all-time highs and sales organisations into uncharted territory. Organisations worldwide are coping differently as sales trends change operations. Sales…
6 Steps to Take When Searching For a CRM Platform
One CRM platform may have excellent event tracking, which means you can learn what a specific visitor does on your website, from which pages they…