Category Archives: CRM Dvelopment Series

Fixing “This app isn’t opening correctly” error

Canvasapp1

Problem Getting Error while opening Canvas app embedded in model driven form. Solution Recently we faced following error while trying to open canvas app. Earlier this app was working fine and this error occurred after new changes deployed to this environment. Based on the error message, I started troubleshooting it and checked ID of the user and verified if this… Read more »

Error Logging using D365 CE Plugin

Errorlogging5

Requirement Error logging using D365 CE Plugin. Details Let’s see what options we can use for the error logging. ITracing Service First option that we have for the error logging in D365 CE plugins is using ITracing service. To usethis option first we need to make sure we enable below setting in D365 CE environment. Once this option is enabled… Read more »

Fixing Internal_CompanyNotFound in CRM to BC integration

connection2

Requirement Integrating Dynamics 365 CE and BC with Business Central v2.0 API endpoints using KingswaySoft Details Recently I was working on a POC for Dynamics 365 CE and BC integration where we wanted to test integration using BC V2.0 endpoints. Based on Microsoft documentation Following is the standard BC V2.0 API URL format: https://api.businesscentral.dynamics.com/v2.0/tenant/environmenet/api/v2.0 Where environment represent dev,test or production environment… Read more »

Timezone conversion Issue in CRM to BC integration

timezoneissue1

Issue Recently we faced date issue while sending invoice data from Dynamics 365 to Business Central. Details We have implemented Dynamics 365 and Business Central integration using KingswaySoft toolkit. While testing invoice details created in Business central, we found issue with the date, it was one day behind the CRM date sent to BC. Earlier same SSIS packages with Azure… Read more »

Hiding Special buttons from Dynamics 365 CE

invoice1

Requirement Hide Create Invoice button on the Dynamics 365 Sales Professional app. Details: While working on Dynamics 365 CE implementation it’s normal to get request to hide some command buttons. Today I am going to demonstrate how to hide special buttons like Create Invoice button in Dynamics 365 CE Sales Professional app. Normally when we want to hide ribbon button… Read more »

Creating aggregated view using DataTable

vendorgrid

Requirement Let’s say we want to show aggregated total of the records based on the grouping. let’s understand this with below example: In above screenshot group 1 as what we have in our entity and 2 is what we want to show on the dashboard, just want to show single entry for the duplicate record and calculate total. Details: I… Read more »

New User not visible in Dynamics 365 CE – {Quick Tip}

user6

Problem New users not listed in Dynamics 365 CE. Details Recently I was setting up trial instance for client demo. I created test users in office 365 portal and as usual I waited to sync those users to my environment, but I was not able to see the users even after waiting for hours, after doing research I learned now… Read more »

Using App User in KingswaySoft Connection Manager

Requirement While working with KingswaySoft integration toolkit we have different ways to connect with Dynamics 365 CE. Today we are going to discuss how to use Dynamics 365 application user for authentication. Details To setup application user we first we need to register an app under Azure Activity Directory so let’s follow below steps 1. Go to Active Directory of… Read more »

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 »

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 »