Create a note in Dynamics 365 using C# Plugin

 

Create a note in Dynamics 365 

//add a note
Entity Note = new Entity("annotation");
Note["objectid"] = new EntityReference("contact", ent.Id);
Note["objecttypecode"] = 2;
Note["subject"] = "Latest Currency Exchange Data";
Note["notetext"] = "USDEUR : " + USDTOEUR +" " + _url + "?" + query + " " + content;

service.Create(Note);

No comments:

Post a Comment