You need to sign in to do that
Don't have an account?
Greg Geller
custom settings call to getAll returns null
Hi all,
I'm new to SalesForce. I created my developer account. I created a custom setting of type list with two fields. I went into Manage tab and entered the data.
When I run a SOQL query, I see the data. When I call myCustomSetting__c.getAll(), it returns an empty Map. Why does the data show up in one scenario and not the other.
Thank you everyone for your help,
Greg
I'm new to SalesForce. I created my developer account. I created a custom setting of type list with two fields. I went into Manage tab and entered the data.
When I run a SOQL query, I see the data. When I call myCustomSetting__c.getAll(), it returns an empty Map. Why does the data show up in one scenario and not the other.
Thank you everyone for your help,
Greg
This is my test class