Hi,
I'm new to plugins and I'm trying to understand it. I just wanted to be able to assign a filed value based on a value from the other entity. I have this simple code but now working.
I wanted to pass the description value from account to the field named new_summary in my entity called new_grade
Entity g = new Entity("new_grade");
Entity a = new Entity("account");
string getSummary = a.GetAttributeValue<string>("description");
g["new_summary"] = getSummary;
Entity entityImage = localContext.PostImage;
g["new_account] = entityImage.ToEntityReference();
localContext.OrganizationService.Create(g);