1

According to the documentation, DuplicateRecordSet there is a field SobjectType, however, after running the following code in Execute Anonymous, it doesn't appear that this field exists...

Map<String, Schema.SObjectType> mapObjects = Schema.getGlobalDescribe();
Map<String, Schema.SObjectField> drsFields = mapObjects.get('duplicateRecordSet').getDescribe().fields.getMap();
for(String k : drsFields.keySet()){
    System.debug(drsFields.get(k));
}

Screenshot of output

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.