function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Determine Default Value of a Field

I am trying figure out if it is possible to determine default field values using the Enterprise WSDL.  I am using the Describe calls and getting field information but I do not see any metadata that tells me what the default value of a specific field is.  For example I want to know if the default value of a boolean field is checked or not.  I see that you can determine default picklist values but don't see anything for any other field type.  Please advise.
You can't get the default value for a boolean field via the regular API. You can probably get it via the metadata api.