PowerApps and Common Data Service for Apps – Create Environment

The Common Data Service for Apps (CDS for Apps) is a way to build rich applications built as implemented by the Common Data Model (CDM) utilizing PowerApps. When you develop an app, you can use the standard base entities and build your own custom entities. From there, you can leverage business rules, business process flows, workflows and extend through code. To administer PowerApps environments, go to https://admin.powerapps.com/environments. You will see: This … Continue reading PowerApps and Common Data Service for Apps – Create Environment

Adding an OnChange Script Programmatically in Dynamics 365 Power Apps

In this post, we will look at how to programmatically add an OnChange script in Dynamics 365 Power Apps, so when a user tabs off a field, the script is run. First, when we tab off a field, such as this fax field on the account record, we would like our script to run: Without doing this programmatically, we would select the field and select Change Properties: Then go to … Continue reading Adding an OnChange Script Programmatically in Dynamics 365 Power Apps

Update a Record using Xrm.WebApi

Let’s look at how we can use the Xrm.WebApi to update a record. Let’s use the Account entity, where we have a field called My New Field (new_mynewfield): Here’s the update script: We can run this in the browser console or in a web resource. We see we get a Success callback: In advanced find, we see the field has been updated: Interestingly, if we were to run this with … Continue reading Update a Record using Xrm.WebApi

Get the Id of a Record on a Page in Dynamics 365 Power Apps

Let’s look at how to get the Id of a record in Dynamics 365 Power Apps using JavaScript. We can see below our Account record with the Id in the URL: To get the Id of the record in JavaScript, let’s run the code below, which Xrm.Page.data.entity.getId(); or by passing the formContext: formContext.data.entity.getId(); And to remove the curly braces: Xrm.Page.data.entity.getId().replace(“{“, “”).replace(“}”, “”); Or formContext.data.entity.getId().replace(“{“, “”).replace(“}”, “”);  

PowerApps Landing Page Tour

When navigating to https://powerapps.microsoft.com/, users will see a link to sign in on the top right. Click Sign In: From here, users will be directed to the PowerApps landing page. Here you will see several links, including: Home Learn Apps Data Business Logic Notifications Let’s look at each. Home Learn Apps Data This contains additional options for Entities, Option Sets, Data Integration, Connections, Custom Connectors, Gateways: Business Logic (Flows) Notifications Design … Continue reading PowerApps Landing Page Tour

PowerApps – Useful links, blogs and resources

Below is some useful PowerApps resources. PowerApps Community at Microsoft PowerApps Guided Learning at Microsoft Webinars PowerApps Documentation at Microsoft – Find Apps, Create Apps, Administer Apps PowerApps Blog at Microsoft Developing Business Applications with Microsoft PowerApps, CDS, and Flow at EdX  

Common Data Model and Common Data Service

Microsoft has released the Common Data Model currently as part of its PowerApps suite. The Common Data Model and Common Data Service are a “Microsoft Azure–based business application model and storage mechanism for the Microsoft business application platform”. It allows for the creation of entities to store your data, and then plugs into the PowerApps suite. To use the common data model, log into PowerApps at https://powerapps.microsoft.com/. You will find the … Continue reading Common Data Model and Common Data Service