You need to sign in to do that
Don't have an account?

Contact Map
In the code snippet below I am able to see the Contact ID in the variable advisorIDS. What would I add to the code to see another field on the contact record?
Thanks in Advance
public void doAutoSubscribe(Map<Id, Contact> contactMap) {
Set<ID> advisorIDs = contactMap.keySet();
system.debug(' ADVISOR ID----- >' + advisorIds);
}
Thanks in Advance
public void doAutoSubscribe(Map<Id, Contact> contactMap) {
Set<ID> advisorIDs = contactMap.keySet();
system.debug(' ADVISOR ID----- >' + advisorIds);
}
All Answers
I receive " Compilation error: Loop must iterate over a collection type:"
I believe this is because con is not a list, therefore I can't iterate on it.
Lawrence
However I have a field called RecordType(The DataType is "Record Type"). This is showing as Null and I have verified a value is in the field.
Is there something special I must do to access a Field with the "Record Type" Data type?