-
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, 5 months ago by
Forcetalks.
-
This discussion was modified 6 years, 5 months ago by
Log In to reply.
Popular Salesforce Blogs
The Growing Importance of Data Privacy in Software Development
A shared concern in today’s society especially for the new age companies and consumers as well as the government performing their duties is data privacy.…
Inline Edit Support in Custom Component in Salesforce Lightning
If you have a situation where you need to create a custom component with inline edit functionality then this article will help you. However inline…
Top 10 Salesforce Development Companies In India
Salesforce is the top-notch cloud-based CRM company all over the world. It is positioned as an intelligent CRM company, for businesses of all sizes -…
Popular Salesforce Videos
Service Resources and Territories in Salesforce | Salesforce Webinar
Ensure seamless field service operations by setting up Service Resources and Territories in Salesforce Field Service the right way. Organize and manage field service operations…
Case Escalation In Salesforce | Salesforce Development Tutorial
Case Escalation in Salesforce. This video will cover the following points - 1. Case escalation Get a brief introduction about case escalation. 2. Configuration Take…
Interested to Learn Salesforce? But Unsure Where to Start?
Salesforce is a popular CRM tool for support, sales, and marketing teams worldwide. Salesforce services allow businesses to use cloud technology to better connect with…
Popular Salesforce Infographics
Salesforce Administrator Vs Salesforce Developer – Mainstreams of Salesforce Profession
Salesforce CRM training, an important requisite, can help people enjoy this Salesforce professional sustenance. Salesforce administrators and Salesforce developers are the popular and standard mainstreams…
Salesforce Summer'20 Release - Infographic
Salesforce, the world’s # 1 CRM is always on the lookout to connect to its customers, partners, employees with innovative features all around the world,…
CUSTOMER SERVICE TIPS: 4 SECRETS TO OFFERING EXCEPTIONAL CUSTOMER SERVICE
When it comes to customer service, our friends at Salesforce have a few tips and tricks up their sleeve. We were thrilled to help them illustrate four…