When I try to update a custom activity, the scheduledend date field is being set to null.
I’m using the generic Entity class to create and update the custom activity.
This occurs from a console application and a web service.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This appears to be because I was also setting the scheduledstart date field during both create and update to
null.If I either drop the inclusion of the scheduledstart date field in Entity class when calling update, or set it to a value, the scheduledend date field update goes through just fine.
Another solution as pointed out in the comments would be to just use early-bound entity types generated by the Crm Service Util found in the SDK.