Dynamics 365 Web API Retrieve, Select, Filter, Order By and Top

In this post, we will look at how to use the Dynamics 365 Power Apps Web API to retrieve data. Find the Web API URL First, find the Web Api URL. You can get this by going to your org and going to Settings->Customizations->Developer Resources. It is under Service Root URL: Note you will have a different URL, which you can swap with my URL below. Now if we go … Continue reading Dynamics 365 Web API Retrieve, Select, Filter, Order By and Top

Get and Set Field Values using FormContext and JavaScript with Dynamics 365 and PowerApps

In this post, we will look at how to get and set field values using FormContext and JavaScript. Let’s say we want to get and set the Website field of the Account form: Let’s do this on Save of the form. Edit the form and go to Form Properties: Create a new JScript web resource: Add the following code: function GetSet(executionContext) { var formContext = executionContext.getFormContext(); // Get value var … Continue reading Get and Set Field Values using FormContext and JavaScript with Dynamics 365 and PowerApps

How to Install the Power Apps CLI

The Power Apps CLI is the command-line interface that is used to build Power Apps Component Framework controls. To install it, go to the link https://aka.ms/PowerAppsCLI which will download the PCF file. Click to open the powerapps-cli-1.0.msi file: Click Install: And finish: If we go into Windows Add/Remove Programs, we can see the Microsoft PowerApps CLI has been installed: If we go to a Command Prompt and type pac, we see the CLI … Continue reading How to Install the Power Apps CLI

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