Category Archives: Dynamics 365

Easy Fix for -“It is of type ‘Null’ but is expected to be a value…”- Power Automate

Problem While working with Switch control in Power Automate, if the field used in the switch control is blank we will get this error:- “It is of type ‘Null’ but is expected to be a value of type ‘String, Integer” I am going to share one possible way of handling which I used, if you have a better way please… Read more »

Fixing – The runtime connection manager with the ID cannot be found

Issue Recently I was working on scheduling SSIS packages developed using Kingswaysoft toolkit for Dynamics 365 CRM, while testing my job I encountered following error: “Source: Data Flow Task Dynamics CRM Destination [11]  Description: The runtime  connection manager with the ID “{…}” cannot be found. Verify that the connection manager collection has a connection manager  with that ID..” Solution Based on the error message, it… Read more »

Creating Appointment for customers using Canvas App

Requirement Create appointments for customers using Canvas app and display existing appointments in gallery control. Details We are going to create a sample canvas app where we will have two screen in first screen we will be displaying existing appointments and we will use second screen to create new appointment so let see how we can do that. You need… Read more »

Download Word Document Template using JavaScript- Dynamics 365 CE

Requirement We got one requirement where we wanted to download Word Document based on the word template after validating some conditions. I am going to share sample code which can be used to download word document based on the template name. Solution We create a flyout button similar to existing word template flyout and hide out of the box flyout… Read more »

Add Flyout and identify Selected Option – Dynamics 365 CE

Requirement Add a custom Flyout menu with buttons and identify which button is clicked. Solution Sometimes we need to add a custom flyout ribbon button and need to write code depending on the button which is clicked. Normally that is done using menu, but I will be adding button to flyout and using command there to perform action. I will… Read more »

Dynamics 365 CE Date Conversion in Power Automate

Problem Recently while working on Power Automate to send notification if custom activity record is completed before 15 day but still invoicing is not done yet, I was facing time zone issue while comparing date. I will provide details how I sold this issue. Solution Initially I started creating my flow where I used Recurrence and fetched my entity records… Read more »

Completing Activity using Custom Ribbon Button

Requirement Sometimes we have requirement to change activity status using custom button. Here we are going to discuss how we can complete activity using WebAPI and action using a custom ribbon button placed on the subgrid. Solution We are going to complete activity using custom action and then we will be calling our custom action using WebAPI. We will add… Read more »

Update entity from Canvas App using Patch

Introduction In earlier article we discussed about how updating entity from canvas app using Power Automate. This process is works fine if you don’t want to update current entity because executing Flow will take some time and you won’t be able to see the changes quickly so in this post we are going to discuss other option to update entity… Read more »