You need to sign in to do that
Don't have an account?
SFDC_Learner
RecordType through described call
Hi,
How to get a map<id,String> for RecordType using Described Information.
i.e I want to get the RecordTypeId,RecordTypeName map without query and wants to get it through described call?
Is this possible?
Here are mehtods
1. getRecordTypeInfos
2. getRecordTypeInfosByID
3. getRecordTypeInfosByName
Hi,
I arrived a little late, but it may help for next
Map<Id, RecordTypeInfo> recTypes = SObject.SobjectType.getDescribe().getRecordTypeInfosById();