Lessons Learned Upgrading to USD 4.1, IE Process to Chrome Process and Web Client to Unified Interface

I recently went through an upgrade of Dynamics 365 and Unified Service Desk that consisted of the following: Upgrading Dynamics 365 Web Client to Unified Interface Upgrading Unified Service Desk 4.0 to 4.1 Changing Unified Service Desk Hosted Controls from IE Process to Chrome Process There were several moving parts to the upgrade. In this post, I will talk through some of the tasks and challenges from a USD perspective. … Continue reading Lessons Learned Upgrading to USD 4.1, IE Process to Chrome Process and Web Client to Unified Interface

Configuring App Suffixes for Friendly URL Names for Dynamics 365

In Dynamics 365, we can set “friendlier” URLs for each of the apps we create. Let’s look at how to do this. First, go to your apps by logging into https://yourorg.crm.dynamics.com/apps. You will see your apps displayed: Let’s navigate to our Blank Test App by clicking on it. It takes us to a URL with the AppId appended to it: Let’s add a URL to our Blank Test App by … Continue reading Configuring App Suffixes for Friendly URL Names for Dynamics 365

Debugging a Custom Workflow Activity in Dynamics 365 and PowerApps

In the previous post, we created a new Custom Workflow Activity and used it in a workflow. Let’s look at how to debug one of these. Open the Plugin Registration Tool (PRT) and select Install Profiler: This may take a few minutes. Once installed, you will see the Plugin Profiler at the bottom of the list: Right-click it and select Start Profiling Workflow: Find your workflow in the list and … Continue reading Debugging a Custom Workflow Activity in Dynamics 365 and PowerApps

Creating Custom Workflow Activities (Workflow Extensions) in Dynamics 365 and PowerApps

In this post, we will create a new Custom Workflow Activity, or Workflow Extension, which allow us to call custom code from workflows in Dynamics 365 and PowerApps. First, let’s look at how these are used. Log into your org and go to Settings->Processes: Let’s create a new workflow with the following. Set name = Test Workflow, Category = Workflow and Entity = Account, then click OK: Under Add Step, … Continue reading Creating Custom Workflow Activities (Workflow Extensions) in Dynamics 365 and PowerApps

How to Install PowerApps Components from PCF.Gallery to Your Org

The PCF.gallery site contains many PowerApps custom components written by people in the PowerApps community. Some of the controls are really cool, and in this post we will look at how to use the site and install controls in your PowerApps / Dynamics 365 environment to make your orgs even more usable. First, head over to PCF.gallery. You will see links to various controls: You can click on a link to … Continue reading How to Install PowerApps Components from PCF.Gallery to Your Org

Walkthrough of Creating the Microsoft PowerApps PCF Sample Component

In our previous post, we installed the PowerApps CLI and created a PowerApps custom component. In this post, we will go through the Microsoft sample here, where we add code to a PCF project, build the project, create a solution and deploy it to our PowerApps / Dynamics 365 environment to use on a field. First, let’s create a directory LinearComponents to add our control code. We will use the … Continue reading Walkthrough of Creating the Microsoft PowerApps PCF Sample Component

Issue with Running MSBuild on PowerApps Component Framework (PCF) Controls

When creating custom PowerApps Component Framework custom controls, and running MSBuild, you may encounter an error something like below: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersio n.targets(1183,5): error MSB3644: The reference assemblies for framework “.NETFramework,Version=v4.6.2” were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a versio n of the framework for which you have the SDK or Targeting Pack installed. … Continue reading Issue with Running MSBuild on PowerApps Component Framework (PCF) Controls

Creating a Custom Component using the PowerApps Component Framework (PCF)

The PowerApps Component Framework (PCF) is a Microsoft framework for building custom components in PowerApps. Let’s go through what this actually means and how to build these components. In PowerApps and Dynamics 365, fields have types, such as Single Line of Text, Whole Number, Currency etc. For example, if we open our Account entity, we can see there are many fields, and these fields have different types: We can open … Continue reading Creating a Custom Component using the PowerApps Component Framework (PCF)

How to Implement JavaScript Confirmation Dialogs in Power Apps and Dynamics 365

In Power Apps and Dynamics 365, you may need to display a dialog to a user in order to decide which piece of code to run next. We can do this using the command Xrm.Navigation.openConfirmDialog. Let’s look at how to do this from a model-driven Power App. Go to the app and open the Console in your browser’s developer tools. The function takes the following parameters: Xrm.Navigation.openConfirmDialog(confirmStrings,confirmOptions).then(successCallback,errorCallback); Let’s start with … Continue reading How to Implement JavaScript Confirmation Dialogs in Power Apps and Dynamics 365

Accept all Defaults with npm init -y

npm init prompts you for each attribute of your package.json. Pressing enter on each line means the text in brackets will be used: This produces a package.json file like below: Or, you can accept all defaults automatically with: npm init -y The package.json looks like: