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 maps in apex?
Which interface need to implement so that you can use lightning component as tab like custom object and vf page? : salesforce lightning component
What are different types of controllers in salesforce?
Name what are the types of sharing rules?
What is the apex in salesforce?
What is lightning ? : salesforce lightning component
How can we call child component controller method from the parent component controller method? : salesforce lightning component
What about Web-to-Lead and Web-to-Case?
Which fields are automatically indexed in salesforce ?
How can I participate in the developer force community?
Let’s say that you have an app myapp.app that contains a component mycmp.cmp with a ui:button component. During initialization, the init() event is fired in what order?
What are the matrix and trend report?