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 |
Can we mass delete reports in salesforce?
What is the default data time format of salesforce ?
What is a workflow task? State the various workflow tasks in salesforce.
Explain sequence of salesforce triggers and order of execution?
What is a standard report and custom report?
What is the character limit of custom label?
What are the types of sandboxes?
Which report types are available in Dashboard?
What is a difference between System log and debug log?
What is the difference between profiles and roles in salesforce.com?
What are governor limits in salesforce? : salesforce crm
What is the sales process?