Action are powerful feature of dynamics 365 which help us to do many things including exposing a wrapper endpoint which can be used for performing any operation in dynamics 365 CE. The exposed endpoint can be called by any system who is authorized to do so. Although we have got a new feature (in preview... Continue Reading →
CDS Custom API Preview : How to create CDS Custom API
CDS Custom API Preview (An extension of custom action): How to create CDS Global Custom API CDS have workflow custom action which helps create a new plugin messages and we can register plugins on those custom message and execute any logic server side. Alternatively in such workflow custom actions we can write UI workflow like... Continue Reading →
Upload a file to Azure storage account using .NET Core Console Application
Step1: Open Visual studio and create a new .NET Core solution Step2: Open cmd and navigate to the directory of your project using below command: cd C:\Users\vishkuma\source\repos\ConsoleApp20\ConsoleApp20 Add nuget package to Azure storage using below command: dotnet add package WindowsAzure.Storage Add Microsoft.Extensions.Configuration.Json Nuget package by executing below command in cmd dotnet add package Microsoft.Extensions.Configuration.Json You'll... Continue Reading →
Query D365 CE from console app using azure ad app using client credentials – (Server to server authentication using azure ad and application user for Dynamics 365 ce)
To query ce from outside ce using webapi, follow below steps:- Prerequisites :- Azure ad application with secret generated (Azure Subscription should be with same Office 365 account as of your D365 instance-you can login to azure using your ce trail instance credentials) (Ref ms docs) 2. Application user created in ce with same... Continue Reading →
How to generate early bound class for dynamics 365 CRM/CE
Below are the steps how we can generate early bound class for dynamics crm using crmsvcUtil :- Get latest crm sdk. Go to SDK\Bin folder, there you must see crmsvcUtil tool Open command prompt and go to SDK\Bin folder using "cd <sdk bin path>". For eg: If you have placed bin folder in c drive... Continue Reading →
How to get address from longitude and latitude in c# | Reverse geo-coding in c#
Converting longitude and latitude into full address in c# In this post we'll discuss how you can get address from longitude and latitude. This process is also called reverse geo-coding. This can be used in many cases. Our example will be used in fetching address from geocodes in crm. We'll create a console application and... Continue Reading →
How to download all attachments in MS CRM – MS CRM Attachment downloader
Recently faced a requirement where crm user wanted to download attachments of certain records from a crm instance. I thought why not build an application to do the same. You can download the MSCRMAttachmentDownloader solution and start making changes according to your need. I have also created a MSCRMAttachmentsDownloaderInstaller setup which can be installed on system and you... Continue Reading →
How to check the status of windows service using c#
C# code to check status of a windows service Below is the C# code which return the status of a windows service running on a machine/server on passing correct name. One use case of it is that if we want to monitor some specific services which are critical to operation, we can schedule our application... Continue Reading →