Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What are some use cases for using the schema class?



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

Post New Answer

More Salesforce Interview Questions

What are maps in apex?

0 Answers  


Which interface need to implement so that you can use lightning component as tab like custom object and vf page? : salesforce lightning component

0 Answers  


What are different types of controllers in salesforce?

0 Answers  


Name what are the types of sharing rules?

0 Answers  


What is the apex in salesforce?

0 Answers  


What is lightning ? : salesforce lightning component

0 Answers  


How can we call child component controller method from the parent component controller method? : salesforce lightning component

0 Answers  


What about Web-to-Lead and Web-to-Case?

0 Answers  


Which fields are automatically indexed in salesforce ?

0 Answers  


How can I participate in the developer force community?

0 Answers  


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?

0 Answers  


What are the matrix and trend report?

0 Answers  


Categories