How to Find Solution Layers in the Microsoft Power Platform

To find which layer a component belongs to in the Power Platform, open the component and select it, then go to See solution layers: We see the order of each later, starting with the System layer at number 1. Then each solution has a layer number, and at the top we have the active layer, in this case at number 18: For more information on layering of solutions, see this … Continue reading How to Find Solution Layers in the Microsoft Power Platform

Setting Lookups and Option Sets when Creating Records in Web API

In this post, we will look at how to set lookup and option set values when creating records in the Web API. Let’s create an Account record. Account have fields such as the following: Parent account – lookup Industry code – Option Set Do not email – boolean Credit hold – boolean Shipping method code – option set Currency Id – lookup Let’s create some JavaScript to create a new … Continue reading Setting Lookups and Option Sets when Creating Records in Web API

How to Disable and Enable Skype or Teams Presence in Dynamics 365 PowerApps Forms

In Dynamics 365 / PowerApps, Skype / Teams statuses can be displayed next to the names of users in fields. Below we can see the status as green (available): And if the user changes the status to Do not Disturb (changing below in Teams): We see the status updated automatically on the record: To enable/disable the status, go to the admin center at https://admin.powerplatform.microsoft.com/ and change the Skype presence: We see now … Continue reading How to Disable and Enable Skype or Teams Presence in Dynamics 365 PowerApps Forms

Unified Interface Transition Portal Helps with Move to UCI

As part of the transition to Unified Interface, we can use the Unified Interface Transition Portal to help us. Go to https://runone.powerappsportals.com/. You will be prompted to log in and accept the permissions: Then confirm your details: Select My Environments: From here, you can see the current transition status, and the target date: Selecting an org will show details on the Rescheduling Requests: And you can also click on My Requests … Continue reading Unified Interface Transition Portal Helps with Move to UCI

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

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

Import Excel Data into a Model Driven PowerApp using Data Integration Project

In this post, we will import data from an Excel spreadsheet into a model-driven PowerApp, creating a Data Integration Project that uses Power Query. First, let’s look at a spreadsheet we have. It contains 2 accounts, with the account name and revenue: This spreadsheet is sitting in a SharePoint library. Let’s go to PowerApps.com and pull up our model-driven app. Select Entities: Clicking on Accounts, we can see the data … Continue reading Import Excel Data into a Model Driven PowerApp using Data Integration Project

How to Display an Alert in Power Apps using JavaScript

When using JavaScript, we can display alerts in model-driven Power Apps. To do this, we can use openAlertDialog. The syntax for this method looks like below: Xrm.Navigation.openAlertDialog(alertStrings,alertOptions).then(closeCallback,errorCallback); As a simple example, we can use: var alertStrings = { confirmButtonLabel: “Got it”, text: “Something happened.”, title: “Alert Title” }; var alertOptions = { height: 500, width: 500 }; Xrm.Navigation.openAlertDialog(alertStrings, alertOptions).then( function success(result) { console.log(“Alert dialog closed”); }, function (error) { console.log(error.message); } … Continue reading How to Display an Alert in Power Apps using JavaScript