How to Remove the Border around a Web Resource in Dynamics 365 / Power Apps

When a web resource is created in Dynamics 365 / Power Apps, we get a border defaulting around it. For example, below is a web resource on the Account form displaying “Hello World”. We see the border around the web resource: Even though we’re not doing anything specific in the web resource HTML: To remove the border, open the form in design mode and go to the Web Resource properties: … Continue reading How to Remove the Border around a Web Resource in Dynamics 365 / Power Apps

Showing an Error through JavaScript in Power Apps and Dynamics 365

When customizing model-driven Power Apps and Dynamics 365 with JavaScript, you may need to display an error to the user. One way to do this is to use Xrm.Navigation.openErrorDialog, which is called like below: Xrm.Navigation.openErrorDialog(errorOptions).then(successCallback,errorCallback); Let’s run it in browser Development Tools to show how it works. Open a Power App and in dev tools add the following code: Xrm.Navigation.openErrorDialog({ errorCode:”ABC7123″, details:”These are the details that will go into the … Continue reading Showing an Error through JavaScript in Power Apps and Dynamics 365

Using JavaScript to Add Spinner and Block UI in Dynamics 365 and Power Apps

In Power Apps and Dynamics 365, when writing custom JavaScript code, you may want to stop users from interacting with the user interface while your JavaScript code is processing. An example of this might be when a user clicks a custom button and some code runs, and while the code is running we want to display a “Processing” message until the code is complete. We can do this easily in … Continue reading Using JavaScript to Add Spinner and Block UI in Dynamics 365 and Power Apps

4 Years Ago Today at eXtremeCRM 2015 Conference in San Diego

I saw a photo come up in my social media feed from 4 years ago today at the eXtremeCRM 2015 (now eXtreme365) Conference in San Diego. What do you think, pretty accurate? Great conference, how time has flown and things have changed since the Dynamics CRM 2016 release preview.

How to Set Button Icons in Unified Interface and Dynamics 365 Power Apps

Let’s say we want to set an icon for a button on a form in Power Apps / Dynamics 365. We will use the Ribbon Workbench to do this. Let’s add this to our Account form. First, create a solution and add the Account form: To add buttons to the Unified Interface, we will use SVG images. For the Web Client, we will use PNG images. There are online tools … Continue reading How to Set Button Icons in Unified Interface and Dynamics 365 Power Apps

Calling a Microsoft Flow from Dynamics 365 and PowerApps using JavaScript

In our previous post, we send a POST request to a Microsoft Flow. We showed how to do this using the Postman application. Let’s now run this from Dynamics 365 / PowerApps. On our Account page, we have a field called Partner Ranking. We see the ranking for the current account is set to 7: Now let’s say we want to post a message to a Microsoft Teams channel when … Continue reading Calling a Microsoft Flow from Dynamics 365 and PowerApps using JavaScript

Adding a Model-Driven App to a Dynamics 365 Environment

Consider the scenario where you have an existing Dynamics 365 environment and you want to create a new app for users to access and use. Let’s look at how to do this. First, let’s look at my Dynamics 365 environment. I already have several apps installed: I can select an app such as the Sales Hub, and it will open the App: Now let’s say I want to create a … Continue reading Adding a Model-Driven App to a Dynamics 365 Environment

Enabling High Density Headers in PowerApps and Dynamics 365 Forms

In the October release of Dynamics 365, headers of forms can be displayed as high density or low density. In this post, we will look at what this means and how to use it. In Dynamics 365 forms, there is a Header section. The section displays right at the top of the form, and displays information that a user may want to see consistently when viewing a form and scrolling, … Continue reading Enabling High Density Headers in PowerApps and Dynamics 365 Forms

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