How to Remove Duplicates from a C# List

To remove duplicates from a C# list using Linq, do the following. Define a new list. Ours has 7 elements, with “2” and “4” repeating Use Distinct().ToList() to make a new list with the distinct elements Print out to the console This outputs:  

How Solution Version Numbers Work in the Microsoft Power Platform

Dynamics 365 Power Apps solutions contain a version number. These numbers are used to keep track of what functionality is contained in a particular solution release, as well as used by the Power Platform to determine if code being imported is a solution or a patch. When you create a new version, you will be asked to enter the version number. This defaults to 1.0.0.0: And must be in the … Continue reading How Solution Version Numbers Work in the Microsoft Power Platform

How to Find Dependencies when Deleting Resources in Dynamics 365 Power Apps

In this post, we will look at how to find dependencies in Dynamics 365 Power Apps solutions. First, let’s create a new solution, and add the Contact entity to the solution. We will then add 2 new fields, New Field 1 and New Field 2: And we will add these fields to the Contact form: Now, let’s say a user wants to delete the field New Field 1. They can … Continue reading How to Find Dependencies when Deleting Resources in Dynamics 365 Power Apps

Populating Amounts in Opportunities in Dynamics 365

In this post, we will take a look at opportunity numbers such as total amount, estimated revenue, actual revenue and budget amount in Dynamics 365. Let’s create a new opportunity with a budget amount of $2000: In Advanced Find, for this opportunity we see the budget amount is populated: Add a product to the opportunity with an estimated amount of $100: We see the total amount is now $100: Update … Continue reading Populating Amounts in Opportunities in Dynamics 365

USD – Scriptlets

In Unified Service Desk, there is a feature called Scriptlets, which are basically JavaScript code snippets / functions that are created once and then called in different areas in USD. In Dynamics 365, go to Unified Service Desk->Scriptlets: You will see a list of scriplets, like below: Selecting an existing scriptlet, we can see in this example, it is a JavaScript function that gets the incident title replacement parameter, gets … Continue reading USD – Scriptlets

USD – InvokeCTI Action

In Unified Service Desk, there is an action to invoke a CTI call. The parameters are: Parameter Description type This is the type of CTI event, such as phone call or chat. appname The desktop manager name to be used for this pop-up simulation. ani The automatic number identification (ANI) or callers phone number. dnis The DNIS or dialed number. All remaining parameters will be passed as parameters to the … Continue reading USD – InvokeCTI Action

Understanding Azure App Services

Azure App Services are a cloud platform that allows you to build, deploy and scale applications such as web, mobile (push notifications, offline sync), APIs and Logic Apps. Applications can run on Windows and Linux, and can be written in languages such as .NET, .NET Core, Node.js, Python, Java, Docker and more. App Services are basically a platform as a service. Let’s deploy a web app on Azure App Services. … Continue reading Understanding Azure App Services

Unified Service Desk CTI Screen Pop with IE

In Unified Service Desk, if you have a CTI Generic Listener set up, you can invoke this opening an Internet Explorer window and accessing the port through a URL. You can also pass parameters to the URL. For example, if the USD port is 5000, you can access the URL like below, passing in parameters: http://localhost:5000/?ani=5552221177&dnis=5551112222&ssn=111223344 Open USD, then run this in IE. You will see a blank page: USD … Continue reading Unified Service Desk CTI Screen Pop with IE