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.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.