Using GitHub with Visual Studio

In this post, we will look at how to use GitHub with Visual Studio. Download and Install First, let’s download and install the GitHub extension for Visual Studio. In Visual Studio, select Mange Extensions and find the GitHub Extension for Visual Studio, then click Download: You will see a message to restart VS: Click Modify: We see the extension installing: Click Close when complete: Create Project Now let’s create a … Continue reading Using GitHub with Visual Studio

Tips for Getting Parameters from Windows Navigation Rules in USD

In this post, we will look at some things to note when getting parameters from Windows Navigation Rules in Unified Service Desk (USD). When running an Entity Search in a Windows Navigation Rule, we can use the Id of the record in the entity search using [[id]]. That will then give us everything we need regarding the record. When we get into the Actions behind a Windows Navigation rule, we … Continue reading Tips for Getting Parameters from Windows Navigation Rules in USD

Hiding the Plus Button on a Subgrid in Dynamics 365

In Dynamics 365, on subgrids there is a plus button which can be used to add records. In some cases, you may want to hide this button from users. For example, let’s say on the Account form you would like to hide the + button on the Contacts subgrid: To do this, we can use the Ribbon Workbench application. Let’s first create a new solution and add the Contact entity … Continue reading Hiding the Plus Button on a Subgrid in Dynamics 365

Register a Function OnLoad of a SubGrid in Dynamics 365 Power Apps

In this post, we will show how to register a function that runs on the loading of a subgrid in Dynamics 365. Consider the Contacts subgrid, of which the control is called “Contacts”: We can write code to get the control below using the formContext: var subgrid = formContext.getControl(“Contacts”); Now, in order to add a function, we use the addOnLoad method. Let’s add a function on the fly here: subgrid.addOnLoad(function() … Continue reading Register a Function OnLoad of a SubGrid in Dynamics 365 Power Apps

Filtering Subgrids in Dynamics 365 Power Apps with setFilterXml

Subgrids in Dynamics 365 allow us to do several things with JavaScript. In this post, we will look at filtering a subgrid using setFilterXml. Note this appears to be an unsupported method, please check the Microsoft documentation to see if this becomes supported. Let’s look at the Contacts subgrid on the Account entity: Note the Contacts subgrid is called Contacts: The subgrid is a control, and we can get it … Continue reading Filtering Subgrids in Dynamics 365 Power Apps with setFilterXml

Compare 2 Assemblies Using Telerik JustAssembly

In this post, we will create an assembly, update it, and compare the compiled code using JustAssembly from Telerik. At the time of writing this is free software. First, let’s create 2 assemblies. Let’s open Visual Studio 2019. Some simple code with a method to add 2 numbers: The assembly looks like below: Let’s take a copy of this assembly, and now update the original assembly. We will add some … Continue reading Compare 2 Assemblies Using Telerik JustAssembly

How to Secure an Azure App Service with Azure AD Authentication

In this post, we will look at how to secure an Azure App Service with authentication by using Azure Active Directory. Go to https://portal.azure.com and select an App Service. We will use one we created earlier. Select Authentication / Authorization: Set App Service Authentication to On: Select Azure Active Directory. Note the other options – Facebook, Google, Twitter etc: We see: Let’s use Express setup. We will call our app CarlCRMAPIADApp: … Continue reading How to Secure an Azure App Service with Azure AD Authentication

Office 365 and Dynamics 365 Data Center Locations

To view where Office 365 and Dynamics 365 Data Centers are located, go to http://o365datacentermap.azurewebsites.net/: Select your region, for example, North America: Note there is an updated link to https://products.office.com/en-US/where-is-your-data-located?ms.officeurl=datamaps&geo=All: Select your location or Geo: For the US:  

Adding App Insights to an Azure App Service

In this post, we will look at how to add Azure App Insights into an App Service. Log into the Azure portal at https://portal.azure.com/ and select your App Service, then go to the Application Insights menu option. Click Turn on Application Insights: We see “Your app will be connected to an auto-created Application Insights resource: CarlCRMAPI Instrumentation key will be added to App Settings. This will overwrite any instrumentation key value in … Continue reading Adding App Insights to an Azure App Service