You need to sign in to do that
Don't have an account?
mqui
Retrieving System-wide default settings usi Force.com API
Hi
I've been trying to retrieve organization-wide default settings for each object type using the Force.com API (V.14.0) I first thought this would be possible using an SOQL query but there doesn't seem to be a Table holding information about the settings. Am I missing something or is it a know fact that you can't retrieve this information from salesforce?
Thanks
Martin
I've been trying to retrieve organization-wide default settings for each object type using the Force.com API (V.14.0) I first thought this would be possible using an SOQL query but there doesn't seem to be a Table holding information about the settings. Am I missing something or is it a know fact that you can't retrieve this information from salesforce?
Thanks
Martin
Hi Martin,
Have you taken a look at the Organization object? You can query this for various org wide settings. There's some other org details you can get from getUserInfo().
Hope that helps,
Sati
I do have another question but this time regarding user Profiles: the profile object holds a lot of information but there is some that seems to be missing, such as:
- time & IP restrictions
- Field-level security on objects
- CRUD operation allowed for each object types
All these settings are related to a user profile but somehow they don't appear in any fields of the profile object. Is there any way to retrieve this information as well, using the API?
Martin
The Describe calls can give you info on CRUD permissions on objects/fields.
I don't think Login Restriction data is available via the API, but I may be wrong. :-)
Best,
Sati
I was hoping it would be possible to retrieve CRUD settings for each object type/fields for any given Profile.
Still, that answers my question.
Thanks again
Martin
I, too, was hoping to get the IP restriction information from profiles either through the web service or metadata APIs.
http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_profile.htm
I'd also like salesforce to implement: http://ideas.salesforce.com/article/show/37902 (or for others to promote the idea - import of profile IP ranges)
Regards,
Larry
I too need to get access to the Sharing Settings Organization Wide Defaults.
I looked at the Organization object in the SOAP API:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_organization.htm
But this doesn't say whether each object has public or private sharing enabled.
I looked in the meta data API but it says here:
http://www.salesforce.com/us/developer/docs/api_meta/index.htm
that organization wide defaults are not accessible through the meta-data API.
Does anyone know where this information can be accessed?