What are some use cases for using the schema class?
Answer / apoorva mathur
By using Schema class you can retrieve data from server without SOQL query. for eg- get recordTypeId without soql query
Id contRecordTypeId = Schema.SObjectType.Contact.getRecordTypeInfosByName().get('NameOfRecordType').getRecordTypeId();
Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of implements in lightning component?
What are web tabs?
What are the Data Validation Rules?
How to create a campaign in salesforce lightning?
What is roll-up summary field?
What is a solution?
How can we deploy components to production org?
What is the difference between whoid and whatid?
Explian trigger events?
What is analytical snapshot in salesforce.com ? : salesforce admin
What are list of tools are avaliable in salesforce lightning ?
How to handle comma within a field while uploading using data loader?