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 |
Explain the order of execution in salesforce?
Is check box performs like controlling field?
Explain approval process checklist?
Why do we need to write test classes? : salesforce crm
How saas can be helpful to sales force?
How can you create many to many relationship in salesforce ?
What is wrapper class in salesforce?
What is sosl?
What is Apex?
Difference between with sharing and without sharing in salesforce?
Explain Tabular Reports?
List out all different kinds of collections supported by salesforce?