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.
Showing posts with label Plugin. Show all posts
Showing posts with label Plugin. Show all posts
Populate Regarding Field In CRM 2013 Using Plugin
0 commentsPosted by Unknown at 3/21/2014 03:18:00 pm
Labels: ASP.net C#, CRM 2013, Plugin
Subscribe to:
Posts (Atom)