An undeclared property ”{FieldName}” which only has property annotations in the payload but no property value was found in the payload

Problem Today while using the Web Api to update "Account Name" lookup field of a contact I started to get the error below: "An error occurred while validating input parameters: Microsoft.OData.ODataException: An undeclared property 'parentcustomerid' which only has property annotations in the payload but no property value was found in the payload. In OData, only … Continue reading An undeclared property ”{FieldName}” which only has property annotations in the payload but no property value was found in the payload

Advertisements

Run action in plugin

Find below a method that will execute an Action in CRM based on the parameters received /// <summary> /// Trigger an Action in CRM. "parameters" parameter can be optional based on the action called, same for "targetEntity". /// </summary> /// <param name="ActionName"></param> /// <param name="TargetEntity"></param> /// <param name="service"></param> public static void CallAction(string actionName, StringDictionary parameters, … Continue reading Run action in plugin

Allowing other users to send emails in your behalf

I have seen multiple times errors in workflows or plugins that send emails regarding the fact they can't send emails on behalf of others, this is because the user configuration is not set to allow this functionality. To allow other users to send emails on your behalf follow the steps below: Go to "Options" in … Continue reading Allowing other users to send emails in your behalf