You need to sign in to do that
Don't have an account?
mikeegar
Custom Settings For APEX?
Hi,
I thought I saw a post recently that it would be possible to store custom settings in Salesforce and access them through APEX. I don't see anything in Summer '08. Is this on the way?
Thanks,
Mike
How do you mean 'store custom settings'?
There are currently two options at your disposal:
1) Custom objects to hold your configuration settings
- Pro - Automatic creation of the UI for configuration
- Con - Uses SOQL call to get at configuration
2) XML file to hold your configuration settings
- Pro - Don't need SOQL call to get at configuration files
- Con - I haven't written a GUI XML editor on salesforce.com........ yet =O)
Both work very well and i choose between them depending on the requirement at hand
Ah sorry, there is one SOQL for the document (forgot about that one) but the document can have many objects in it so you only have one call for many config objects.
My bad!