Which two options allow the developer to dynamically determine the ID of the required Record Type by its name?

A Platform Developer needs to write an Apex method that will only perform an action if a record is assigned to a specific Record Type.

Which two options allow the developer to dynamically determine the ID of the required Record Type by its name? (Choose two.)
A . Make an outbound web services call to the SOAP AP
C . Hardcode the ID as a constant in an Apex class.
D . Use the getRecordTypeInfosByName() method in the DescribeSObjectResult class.
E . Execute a SOQL query on the RecordType object.

Answer: C,D

Latest CRT-450 Dumps Valid Version with 372 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments