Automating Releases for D365 & Power Platform – Episode 5 Reference Data

In this video, we use the Configuration Migration Utility to define which reference data should be extracted by our Azure DevOps Pipelines to take our data into version control (Git) ready for deployment to a Dynamics 365 Customer Engagement / Power Platform CDS instance.

The configuration tools can be downloaded via https://docs.microsoft.com/en-au/powerapps/developer/common-data-service/download-tools-nuget

Your support by SUBSCRIBING to my YouTube channel is very much appreciated.

Automating Releases for D365 & Power Platform – Episode 4 Portal Deployment

In this video, we explore CI/CD (continuous integration/continuous deployment) using Azure DevOps Pipelines to take our portal configuration into version control (Git), package it up and deploy it to a Dynamics 365 Customer Engagement / Power Platform CDS instance.

To download the configuration file for the portal contents mentioned in the video, please refer to https://docs.microsoft.com/en-us/powerapps/maker/portals/admin/migrate-portal-configuration

Your support by SUBSCRIBING to my YouTube channel is very much appreciated.

Automating Releases for D365 & Power Platform – Episode 3 Solution Deployment

In this video, we explore CI/CD (continuous integration/continuous deployment) using Azure DevOps Pipelines to take our solution contents from version control (Git), package it up and deploy it to a Dynamics 365 Customer Engagement & Power Platform CDS instance. We also look at how we can recall a solution from any point in time as the basis for our deployment.

To make things easier for you, below are the strings used to specify the source folder and

Source Folder of Solution to Pack:
$(System.DefaultWorkingDirectory)/Azure_Source/D365_Solutions/$(SolutionName)

Solution Output File  and  Solution Input File:
$(System.DefaultWorkingDirectory)\$(SolutionName).zip

Your support by SUBSCRIBING to my YouTube channel is very much appreciated.

Automating Releases for D365 & Power Platform – Episode 2 Version Control

In this video, we explore CI/CD (continuous integration/continuous deployment) using Azure DevOps Pipelines to copy our Dynamics 365 Customer Engagement & Power Platform solutions to version control (Git) so that we can a) see what has changed over time and b) recall a solution at any point in time that was captured.

In the video, a couple of copy/paste blocks were used. I’ve provided them below for easy reference.

Powershell Script:

$date=$(Get-Date -Format 'yyyyMMdd')
Write-Host "##vso[task.setvariable variable=CurrentDate]$date"
Write-Host "Set CurrentDate to $date"

Command Line:

echo Commiting all changes
git config user.email "justin@notjust365.com"
git config user.name "Automatic Build"
git checkout master
git add --all
git commit -m "Automatic solution commit $(CurrentDate)"

echo Push code to repository
git -c http.extraheader="AUTHORIZATION: bearer $(System.AccessToken)" push origin master

Your support by SUBSCRIBING to my YouTube channel is very much appreciated.

XrmToolbox add-in: Themer

As part of doing a client presentation, it always makes a difference if you can add a little effort to personalise the experience for your customers.

Using themes within Dynamics 365 Customer Engagement or PowerApps model-driven app, you can add a custom logo to the top left corner and use the customer’s colors for the top banner, etc. The out of the box experience allows you to edit these things but you have to do a bit of manual work such as resizing the image to exact dimensions and setting each of the colors appropriately.

The other painful aspect is that this has to be done manually for each environment as themes are not part of a normal solution and cannot be exported any other way.

To deal with the above, I’ve created a plugin for the versatile XrmToolbox. Some of the functionality it provides is:

  • Color picker instead of having to enter hex codes for colors
  • Select a banner image and automatically have it resized correctly
  • Upload / download all theme settings/colors
  • Save / load theme settings to/from local disk

On top of these, there is a little Easter egg within the plugin which you can find out about in the video below.

Here is a demonstration video that shows you the features of the plugin and how they are used.

Please feel free to comment below if you have any feedback or suggestions for improvements in the plugin.

Display SP files in D365 CE using PowerApps and Flow

In this video, we look at how to use a PowerApp and a Flow to enhance the user experience of accessing related files from SharePoint within the Dynamics 365 Customer Engagement (CRM) screens.

As mentioned during the video, the URI for the Flow action ‘SharePoint – Send an HTTP request to SharePoint’ is
_api/web/GetFolderByServerRelativeUrl(‘incident/body(‘List_records’)?[‘value’][0]?[‘relativeurl’]‘)/Files
The text above in Bold/Italics is entered using Expression

Below are some references used in building this solution:

https://powerapps.microsoft.com/en-us/blog/return-an-array-from-flow-to-powerapps-response-method/
https://preview.flow.microsoft.com/en-us/blog/return-data-to-powerapps/

https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/pass-current-embedded-canvas-app

Your support by SUBSCRIBING to my YouTube channel is very much appreciated.

Create a website or blog at WordPress.com

Up ↑