You need to sign in to do that
Don't have an account?
wyvern
Documentation issues for Field
I've identified a handful of problems in the documentation for the results of describeSObjects.
- The "writeRequiresMasterRead" attribute is listed in the documentation for 14 as part of DescribeSObjectResult, but according to the 14 partner WSDL, it's part of Field.
- "relationshipOrder" has the same issue as "writeRequiresMasterRead": it's documented as part of DescribeSObjectResult but the WSDL says it's in Field.
- "calculatedFormula" is in the WSDL definition of Field, but not documented.
- "externalId" is in the WSDL definition of Field, but not documented.
calculated formulas are discussed here:
http://www.salesforce.com/us/developer/docs/api/Content/field_types.htm#i1435527
and external Ids are discussed here:
http://www.salesforce.com/us/developer/docs/api/index_Left.htm#StartTopic=Content/sforce_api_calls_upsert.htm
Field hasn't been documented yet in the API guide, the describeSObject call doesn't work for it, but clearly these issues need to be addressed. In the meantime, you can learn about Field from the metadata api documentation in the context of a custom field metadata component:
http://www.salesforce.com/us/developer/docs/api_meta/index_Left.htm#StartTopic=Content/customfield.htm
Mysti Berry
Lead Technical Writer, API
salesforce.com
The meaning of external ID as a boolean seems clear from context after looking at your custom field metadata link: it's true if this field should be treated as an external ID. However, I still don't really understand what the calculated formula string is. Is that a string representation of the formula used to generate the values? (the separate "calculated" boolean is already documented.) Or, should I just ignore it and move on? I'm writing a wrapper library around the partner API, so I don't need the calculated formula information at the moment; I just want to know if I should expose that in the wrapper.
thanks,
Mysti Berry
Lead Technical Writer
salesforce.com
Thank you!
Mysti