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 the most important points to be considered while bulkifying a trigger ?

0 Answers  


What happens to detail record when a master record is deleted? What happens to child record when a parent record is deleted? : salesforce crm

0 Answers  


What is difference between insert and database.insert()?

0 Answers  


What is a Workflow Alert?

0 Answers  


If you have two record types for an object, do you need to have two page layouts for that objects? : salesforce sharing and security

0 Answers  


What is apex scheduler?

0 Answers  


What is workflow? : salesforce admin

0 Answers  


How to get the external id from other system and update it in salesforce externalid field, if you get null value from another system how you will through an error?

0 Answers  


How to create master details relationship between existing records?

0 Answers  


What is best practice to refer dynamic custom messages in visualforce with multi-language support ?

0 Answers  


what is the difference between apex:datatable and apex:pageblocktable components in visualforce?

0 Answers  


What is the use of the <aura:method> tag in lightning ?

0 Answers  


Categories