Power Platform

Create a new PCF Button Control

Create a new folder in your directory 2. Open Visual Studio Developer 2019 command prompt and navigate to the NewPcfButton folder, and type the following pcf command:pac pcf init –namespace CanvasAppClosePcfControl –name CanvasAppClose –template field 3. Open Visual studio code, and open this project by navigating to the NewPcfButton folder 4. Now, we will need … Continue reading Create a new PCF Button Control

‘The ‘version’ attribute is invalid – The value ‘1.0’ is invalid according to its datatype ‘versionType’ – The Pattern constraint failed.’

While implementing the PCF control, after building the solution, if you run into the following issue while importing the custom control solution String”>An error has occurred. Try this action again. If the problem continues, check the Microsoft Dynamics 365 Community for solutions or contact your organization’s Microsoft Dynamics 365 Administrator. Finally, you can contact Microsoft … Continue reading ‘The ‘version’ attribute is invalid – The value ‘1.0’ is invalid according to its datatype ‘versionType’ – The Pattern constraint failed.’

Power Automate Flow – Flow client error returned with status code “Bad Request”

In Power Automate Flow, you may encounter the error below when tryin to save the flow Request to XRM API failed with error: ‘Message: Flow client error returned with status code “BadRequest” and details “{“error”:{“code”:”InvalidOpenApiFlow”,”message”:”Flow save failed with code ‘InvalidTemplate’ and message ‘The template validation failed: ‘The repetition action(s) ‘Apply_to_each’ referenced by ‘inputs’ in action … Continue reading Power Automate Flow – Flow client error returned with status code “Bad Request”

Azure DevOps Pipeline for CRM – Solution Packager

The first step in implementing the Azure DevOps pipeline process for Dynamics 365 is to extract/decompose the CRM solution into its individual components. This is done through the solution packager provided by Microsoft. You can download and install the solution packager from this link After you install the the solution packager on your disk, you … Continue reading Azure DevOps Pipeline for CRM – Solution Packager

Retain Overridecreatedon and createdby in Dynamics 365 during data import

In Dynamics 365 data import, the data imported will create records with today’s date and the data created will be logged against the user who is currently logged in even though the original createdon and createdby user could be different. In many cases, when you’re importing an existing or legacy data in your Dynamics 365, … Continue reading Retain Overridecreatedon and createdby in Dynamics 365 during data import

Power Automate – Invalid type. Expected Object but got Array

In Power automate, in the parse json, if the response doesn’t align with the schema of the parse json, you’ll notice different errors, one of them being “Invalid type. Expected Object but got Array”. The Parse json schema was expecting an object as a response. But, instead, received an array of objects, which results in … Continue reading Power Automate – Invalid type. Expected Object but got Array

An undeclared property ‘new_bulkadjustment’ which only has property annotations in the payload but no property value was found in the payload.

Recently, I was running into an issue on xrm.webAPI.createRecord, when trying to update the lookup attribute to the entity object. The oData naming convention for lookup attribute and the documentation around it asks you to use the schema name of the field with @odata.bind: entity[“new_BulkAdjustment@odata.bind”] = “/new_revcontacts(00000000-0000-0000-a000-000d0a000a00)”; This did not resolve the issue. I tried … Continue reading An undeclared property ‘new_bulkadjustment’ which only has property annotations in the payload but no property value was found in the payload.

USD Outbound call – Triggering an UII action from a Session Overview

In USD session overview xaml, you can trigger an event or UII action through a command parameter. You can pass the replacement parameters as parameters to this UII action. In this example, we will trigger an UII action. Additionally, we will pass the telephone number and agent Id to this UII action. The xaml for … Continue reading USD Outbound call – Triggering an UII action from a Session Overview