-
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 5 years, 10 months ago by
Forcetalks.
-
This discussion was modified 5 years, 10 months ago by
Log In to reply.
Popular Salesforce Blogs
How Salesforce Technology is Changing Marketing and Customer Engagement
How Technology Will Change Marketing and Customer Engagement The application of artificial intelligence or AI to many business processes seems limitless now that we continue…
Ideas Management Platform: Solidifying Leadership for Innovation | Salesforce
“Leadership is the capacity to translate vision into reality.” – Warren Bennis Innovation is the ability to create something novel which leads to growth in…
Why Hire a Salesforce Consultant For Your Business?
The Power of Salesforce: Why a Consultant Can Revolutionize Your Business Salesforce is a powerhouse CRM (Customer Relationship Management) platform, but its true potential lies…
Popular Salesforce Videos
Salesforce Lightning User Tips and Tricks Spring 2023
SalesPath Corporation has created a video explaining tips and tricks that every Salesforce user will find helpful in order to increase productivity. This video also…
Automate Workflows and Process Intelligence with Nintex Development Services | Salesforce
Nintex is a leading process improvement, workflow, and automation software platform. In their own words, you can use the Nintex platform to manage, automate, and…
Unleash the Power of Compare Tables | Salesforce Video
In this video, you will learn how to use compare tables to calculate complex calculations quickly, which you can then use to visualize your data.…
Popular Salesforce Infographics
DataArchiva - A Native Data Archiving App for Salesforce using Big Objects
A Native Data Archiving app for Salesforce using Big Objects. With Auto-scheduler, Custom Archiving, Encryption, Integrity and Restore features, DataArchiva saves 85%+ storage costs, improves…
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…
Salesforce Almanac
Salesforce is the number one CRM of the world and it has attained great popularity over the years. Its journey is worth seeing so here…