Populate regarding work with creating records.
Here are my code (Im Creating new task with populated Regarding Field):
Entity newTask = new Entity("task");
newTask["subject"] = "Document" + DateTime.Now.ToShortDateString();
newTask["description"] = "Description";
newTask["regardingobjectid"] = new Microsoft.Xrm.Sdk.EntityReference("account", account.Id);
service.Create(newTask);
Result:
New Task will be created with subject field, description field and regarding field with value.
Populate Regarding Field In CRM 2013 Using Plugin
Posted by Unknown at 3/21/2014 03:18:00 pm
Labels: ASP.net C#, CRM 2013, Plugin
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment