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 are the authentication access types for a force.com canvas application?
When to use public class and when to use global class?
What happens to detail record when a master record is deleted? What happens to child record when a parent record is deleted?
What is s-control?
What happens with existing visualforce pages in lightning experience?
How can I participate in the developer force community?
What is role hierarchy? : salesforce sharing and security
Why is it necessary for most sales teams to use both leads and contacts?
What is the difference between soql and sosl query ?
What is the use of triggers in salesforce?
Are there any css (styles) provided by salesforce.com as part of the supported lightning components ? : salesforce lightning component
Mention what are the actions available in workflow?