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 is lightning experience?
Can a trigger make a call to apex callout method?
What are the different editions of salesforce?
What is a workflow? What all are its components?
How many workflow rules can you create per entity ?
What is the difference between 15 and 18 Digit ID ?
How to unit test code which has logic around the created date?
How to ensure fls while working with lightning component? : salesforce lightning component
Which is api based tool supported by salesforce and what are its advantages? : salesforce Data Management
How many visual force pages do you write a day?
there are two fields if the user populates two field values if we combine those values uniqueness should be maintained, how to achieve this without coding?
Give an example of a standard object that’s also a junction object?