You need to sign in to do that
Don't have an account?
John L.
Specifying type for Map<String,Schema.SObjectField>
I'm building a Map for a user table. I know the attribute names, what do I specify for Schema.SObjectField data types?
The particular types of interest are "Auto Number" and "Date/Time".
Thanks in advance for any insight you may provide.
The particular types of interest are "Auto Number" and "Date/Time".
Thanks in advance for any insight you may provide.
Hi John,
Please find the solution. "Specifying type for Map<String,Schema.SObjectField>".
You can take reference from this code by using system.debug();
I hope it will help you.
Please mark it as Best Answer so that other people would take reference from it.
Thank You!
is empty set. Can't seem to crawl.
Map<String,Schema.SObjectField> Map = Schema.SObjectType.<table>.fields.getMap();
fails with null map keyset;