0

I prepared a list of tasks with subject,activitydate,description,whatid,whoid filled.

Then I did a create operation using SOAP API. The records were created into system but the none of the record's Activitydate field has value.

I don't know what I missed here. Please help!

enter image description here

enter image description here

The above code builds the Task object.

  • Can you show the code where you are assigning the date values to the ActivityDate? They should be set in ISO8601 format. The timestamp on an ActivityDate should be set to midnight UTC. – Daniel Ballinger Mar 2 '15 at 18:25
  • @DanielBallinger Here's the modified code, still have problem after I added ".ToUniversalTime()" – sfdcnoob Mar 2 '15 at 19:09
1

Looks like its in C#, in which case you need to also set the additional specified flag for each property that's not a string, e.g. add

ActivityDateSpecified = true;
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.