How Managed Properties in Power Platform Solutions Work

In this post, we will look at how Managed Properties in manged solutions in the Power Platform work. These can be useful if you want control over how much a user can customize a managed solution component once it has been deployed in a target environment. First, let’s create a new solution: And add a new entity called People: We see the entity is part of our solution: Let’s go … Continue reading How Managed Properties in Power Platform Solutions Work

Accessing Advanced Customizations in PowerApps

In PowerApps, we can access Advanced Customization features. This will look familiar to Dynamics 365 developers and administrators who go into Settings in the Dynamics 365 app. To do this in PowerApps, log into https://powerapps.microsoft.com: and select Settings -> Advanced Customizations: This will open the Advanced Customizations pane: From here, we can manage Users, Security Roles, Themes, Publishers and Developer Resources. Users takes us to: Roles: Publishers: Developer Resources: Note … Continue reading Accessing Advanced Customizations in PowerApps

Convert FetchXML to QueryExpression in Dynamics 365 with Web API Example

In this post, we will go through an example of converting FetchXML to a QueryExpression. We will do this by debugging a Web API call in a plugin. To debug Web API calls using the Plugin Registration Tool, do the following. First, create a Web API query, e.g. select the name and revenue fields in the accounts entity filtered by name. E.g. https://yourorg.api.crm.dynamics.com/api/data/v9.1/accounts?$select=name,revenue&$filter=name eq ‘3M’ In Visual Studio, create a new … Continue reading Convert FetchXML to QueryExpression in Dynamics 365 with Web API Example

Calling the RetrieveEntity WebAPI Function with Enum Types

In Dynamics 365, there are several functions that we can call from the Web API. You can see a list of these functions here. When calling these functions, we can use Xrm.WebApi.execute and specify an action as the operationType: In some cases, this doesn’t appear to work as expected, and you may need to revert to sending through the request using XMLHttpRequest. Let’s look at the example of using the … Continue reading Calling the RetrieveEntity WebAPI Function with Enum Types

Download and Install Accessibility Insights for Windows

To download and install Accessibility Insights for Windows, first go to https://accessibilityinsights.io/en/downloads and click Download for Windows: Open the MSI file: Click Next: Click Next: Click Next: Click Install: Click Finish: Accessibility Insights for Windows will load. You may see: You should now see: You should now be able to use Accessibility Insights for Windows:  

Using Microsoft Flow to Create Recurring Tasks in Dynamics 365

Microsoft Flow can be used to create recurring tasks in Dynamics 365. Let’s go through an example. Let’s say we want to send create a task that reminds a salesperson to call their customers every morning. Sign in to https://flow.microsoft.com. Select My Flows, then New: Pick Scheduled – From Blank: Set a date, time and frequency. The flow can run every Month, Week, Day, Hour, Minute and Second: Click Create. … Continue reading Using Microsoft Flow to Create Recurring Tasks in Dynamics 365

Finding Which Region Your Power BI Data is Stored In

To find which tenant region your Power BI data is stored in, log into the Power BI service at https://powerbi.com and click on the ? icon. Select About Power BI: You will see Your data is stored in, which shows the tenant region:  

Swagger Error Ambiguous HTTP method for action and Failed to load API definition

In this post, we will look at a Swagger error “System.NotSupportedException: Ambiguous HTTP method for action” and “Failed to load API definition”. These errors can occur when you add are using multiple methods on the same HTTP verb, such as POST. The error looks like this when you browse to Swagger: And in Visual Studio, you will see the error reported in the Output  System.NotSupportedException: Ambiguous HTTP method for action. … Continue reading Swagger Error Ambiguous HTTP method for action and Failed to load API definition