-
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, 11 months ago by Forcetalks.
Log In to reply.
Popular Salesforce Blogs
Formula Fields and Roll-up Summary Fields Usage in Salesforce
Here We are going to discuss “Formula Fields and Roll-Up Summary in Salesforce”. Let's talk beforehand about my blog. Formula field: We use Formula Fields…
How to Run Customer Success and SaaS Sales in Salesforce
If you sell physical products using a traditional sales model, a Customer Relationship Management (CRM) platform like Salesforce should deliver all the value you need…
Popular Salesforce Videos
ChartJs Implementation In Salesforce
This was my very first lightning web component I had made on my own. Thought of sharing it 🙂 This component basically shows the no.…
Case Management App on Salesforce AppExchange
Is your customer support struggling with customer satisfaction for high service cost? Don't know how to work on right priority cases? Don't worry Algoworks presents…
Demystifying OAuth and Connected Apps
Often times, the first thing an application needs to do is authenticate its users. Developers building integrations with Salesforce need a simple and secure way…
Popular Salesforce Infographics
How To Upgrade Your Business With Salesforce?
Salesforce has been stretching the possibilities of business growth right from its inception in 1999. Its fierce business model attracted people who eventually moved to…
A Four-step Formula for Salesforce Implementation
No matter how big or small your company—or the Salesforce CRM project—success requires planning, commitment, and strong sponsorship from your company’s executive team. It’s also…
How to Choose the Right Salesforce Partner | Infographic
Choosing the right partner is a key factor that can make or break the success of your project. Salesforce is a powerful CRM platform, which…