Posts

Showing posts with the label Dynamics 365 for CE

Workflow Error: Could not load type 'System.Buffers.Text.Utf8Formatter' from assembly

We were using Pre-Image in our workflow and returning an attribute value of this pre-image as an output parameter. Suddenly we were getting the below error: An unexpected error occurred from ISV code. (ErrorType = ClientError) Unexpected exception from plug-in (Execute): MyProject.Workflow.Value: System.Exception: Could not load type 'System.Buffers.Text.Utf8Formatter' from assembly 'MyProject.Workflow' because the method 'TryFormatDecimalG' has no implementation (no RVA).  The code was like this: Entity preImageEntity = crmWorkflowContext.WorkflowExecutionContext.PreEntityImages.Contains("PreBusinessEntity") ? crmWorkflowContext.WorkflowExecutionContext.PreEntityImages["PreBusinessEntity"] : null; StringAttrValue.Set(context,  preImageEntity .Attributes[AttributeName.Get(context)]); To resolve this issue, We have to implicitly cast attribute name "To String" as shown below StringAttrValue.Set (context,  preImageEntity  .Attributes[...

Powerapps Build tools for Azure Devops CICD

Image
Few months before,I got a task to automate solution deployment process through Powerapps Build tools. Before doing this , I had no experience in AzureDevops. Hence I am sharing my experience through this blog that may be helpful to non Devops guys who are working in Dynamics365. Step1: Create a folder and Solution files in Master branch. Step 2: Click on Release then Pipelines and Click on "Create Pipeline" Then click on "Use classic editor" as highlighted in below image. Select "Azure Repos Git" and select correct "Team Project", "Repository" and "Branch as Master" then click on continue. Click on "Empty Job" as mentioned in below image. As per below image , You can add a task by clicking on highlighted "+" button and search for PowerApps tools  and get it or install it. Once you install it then click on "+" button  as highlighted in...

Error : If you are the administrator, you can go to the solutions page and import a different solution.

Image
One day, We were getting below error while accessing Advanced Settings of Dynamics365 CE. Even System administrator was also getting same error. This issue was related to Sitemap. Actually our Sitemap has been corrupted, To resolve this issue, take backup of sitemap from other CRM environment and import it on environment where this error is coming. I have posted this on Community and get resolution of it. To know more about it please follow below post: https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/381761/if-you-are-the-administrator-you-can-go-to-the-solutions-page-and-import-a-different-solution Cheers, Rocker

Changes in Client API or Client Script in Dynamics 365 for Customer Engagement

If you are a CRM developer and want to write Client Script in Dynamics 365 then you are at right place. There are huge changes in Client API in Dynamics 365 for Customer Engagement. From CRM 2011 we are familiar with   XRM.Page but it is deprecated in Dynamics 365 for Customer engagement and it has been replaced with ExecutionContext. getFormContext . What is Execution Context : The execution context defines the event context in which your code executes. The execution context is passed when an event occurs on a form or grid, which you can use it in your event handler to perform various tasks such as determine  formContext  or  gridContext , or manage the save event. Execution context was already in previous version of CRM but we can easily access other client API by XRM.Page hence we did not use it always. You will get more details at below link: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/clientapi/clientapi-e...