Dynamics 365 Configuration Migration

Dynamics 365 has a utility in the SDK that performs the migration of configuration from one environment to another. It is called the Configuration Migration tool. To use it, browse to the CRM SDK to the ConfigurationMigration folder: Run the DataMigrationUtility.exe file: Select to create a schema: Enter your login information: Select the solution and which entities you want to add to the schema: Press Save and Export. This will create … Continue reading Dynamics 365 Configuration Migration

Why I Love Power BI – Top 10 Reasons

I often get asked the question what’s so good about Power BI. I think the question is more like why do I love Power BI! Many of my clients do not fully understand just what Power BI is and why it is a game changer in business intelligence. Here goes. Power BI is Microsoft’s new cloud-based Business Intelligence service. It allows anyone to visualize and analyze data for free. Users can connect … Continue reading Why I Love Power BI – Top 10 Reasons

Using Fiddler with Dynamics 365 and JavaScript

Fiddler can help in different ways with Dynamics 365 troubleshooting, including determine what errors are being reported, and by speeding up the JavaScript development process. Here we will go through setting up. Let’s say we have a script called new_AccountWebsiteChange.js, which runs on the change of the Website field of an Account, and contains a method called Run: With the code: If we open the Account page in Dynamics 365 … Continue reading Using Fiddler with Dynamics 365 and JavaScript

Creating a Dynamics CRM Plugin from Scratch

Here I will go through an example of creating a Dynamics CRM plugin. In this example, I will create a plugin to set the opportunity description after the opportunity has been created. First create a new project in Visual Studio. Next, add references. Add the Microsoft.Xrm.Sdk.dll which is found in the CRM SDK at CRM SDK 2016\SDK\Bin folder: Or using NuGet the Microsoft.CrmSdk.CoreAssemblies: In the code, add Using and rename the class: … Continue reading Creating a Dynamics CRM Plugin from Scratch

SSRS – Show Fields Only On First Page

To show a field only on the first page of a report, go to the field properties and select <Expression…>: Then enter the following expression – this will check if the page number is 1, and if so, display the field: =iif(Globals!PageNumber = 1, FALSE, TRUE)    

Installing Power BI Desktop

Power BI Desktop (formerly Power BI Designer) is the tool that allows us to create Power BI visualizations. It is a stand-alone Windows Desktop application (a Mac version has been submitted to the Ideas section of the Power BI forums – see here). To install the tool, go to https://powerbi.microsoft.com/en-us/desktop/ and download the latest application. You have 2 options to install. The first is by clicking Download, which will open the Microsoft Store. … Continue reading Installing Power BI Desktop

Creating and Debugging a Plugin in Dynamics CRM 2016

The Dynamics CRM 2016 SDK contains a plugin sample. The code is located here: SDK\SampleCode\CS\Plug-ins\AccountNumberPlugin.cs I’m going to go through step by step how to create this plugin and upload it to Dynamics CRM, then how to debug the plugin. In the example I will connect to a Dynamics CRM 2016 Online instance. Firstly, open and build the sample plugin solution in Visual Studio: Next, open the plugin registration tool. This is located … Continue reading Creating and Debugging a Plugin in Dynamics CRM 2016

Trust Relationship Primary Domain Error

You may come across this error when a server or workstation gets out of sync with the domain controller: “The trust relationship between this workstation and the primary domain failed”. One way to resolve this is to rejoin the machine with the domain. However this can cause other issues. An easier way toresolve this, is to first log into the machine as a local administrator and then run Windows PowerShell … Continue reading Trust Relationship Primary Domain Error

Node Server Upgrade on Windows

Here we will go throgh the steps to upgrade your Node server. First, open PowerShell as Administrator. We will check the version of the server currently installed, with the command: node -v Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force Then run: npm install -g npm-windows-upgrade Next, run: npm-windows-upgrade Select a version: You will see: And once complete:  

Install Node on Windows

To install Node on Windows, first go to the Node website and select the version to download. We will install Windows 64 bit: https://nodejs.org/en/download/current/ This downloads the MSI file. Open the file: Click Next: Click Next: Click Next: Select all the required components, including NPM Package Manager. Click Next: Click Next: Click Finish: With NPM installed, you have access to thousands of packages. You can read more about NPM at … Continue reading Install Node on Windows