You need to sign in to do that
Don't have an account?

What is the api field xxx__cSpecified?
Hi All,
I'm doing a project with SFDC api, to upload object values. See some objects have fields as xx__cSpecified, which is a bool type.
If there si a field a__c, there should be a new field a__cSpecified
b__c, b__cSpecified
c__c, c__cSpecified.
if I upload a field value to SFDC, I ned to write
obj.a__c = "xx";
Should I set value for a__cSpecified? such as below code:
obj.a__cSpecified = true;
Thanks
Kunlun
You should set the xx_cSpecified field to true.
By default the xx_cSpecified fields are set to false.
If you want the value of field xx_c to be part of the soap message, then the xx_cSpecified field should be set to true, else it will not be part of SOAP message.
All Answers
You should set the xx_cSpecified field to true.
By default the xx_cSpecified fields are set to false.
If you want the value of field xx_c to be part of the soap message, then the xx_cSpecified field should be set to true, else it will not be part of SOAP message.
Thanks very much.
Can you tell me why there are these fields xx_cSpecified? Is there some way to remove or create them in SFDC?
This are generated by .NET based on the types in the WSDL, its not part of the SOAP api, its part of the .NET Web services internal API.
Got it, is there a way to set all them to true? It is too much work to set them one by one.