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 global key words? : salesforce visualforce
What are the products of Salesforce?
How to read text between tags ? : salesforce integration
What is deployment in salesforce?
What are the best practises for improving visualforce performance ?
Can one lightning component add another lightning component? : salesforce lightning component
What is difference between visualforce components and lightning components?
can we use a Checkbox as controlling field?
What is the difference between isNull and isBlank?
What are expressions used in pages to bind in controllers? : salesforce visualforce
How will you achieve pagination in SOQL?
What happens with existing visualforce pages in lightning experience ? : salesforce lightning component