C# Code · Dynamics Plugins

{Dataverse} Mapping of File Attribute from one Entity to another through Plugin

File Type column is introduced by Microsoft for Dataverse Model Driven and canvas app. When you add File Type column on Model Driven Entity form, it will be enabled once you save your record. More details about File Type column can be found here. In today’s blog I will show you how we can map…… Continue reading {Dataverse} Mapping of File Attribute from one Entity to another through Plugin

C# Code · Customization and Configuration · Dynamics Plugins · Functional Info

{Microsoft Dataverse} Explore Custom API feature Part-4 in Dynamics 365

In previous blog we have written .Net plugin code which will run in Main operation of Execution Pipeline and updated plugin type field on Custom API record. Today’s blog we will write plugin code and register on Pre-Operation event on Custom API message. Custom API does support Pre-Event operation unlike Custom Action. Create new class…… Continue reading {Microsoft Dataverse} Explore Custom API feature Part-4 in Dynamics 365

C# Code · Customization and Configuration · Dynamics Plugins · Functional Info

{Microsoft Dataverse} Explore Custom API feature Part-3 in Dynamics 365

In previous blog we have created Custom API and related records. In today’s blog we will write .Net code on our Custom API message. Let me explain what we are going to do in our plugin code. We will pass Contact Record Guid as input parameter and then in plugin code we will use this…… Continue reading {Microsoft Dataverse} Explore Custom API feature Part-3 in Dynamics 365

C# Code · Customization and Configuration · Dynamics Plugins · Functional Info

{Microsoft Dataverse} Explore Custom API feature Part-2 in Dynamics 365

In today’s blog we will continue exploring Custom API feature introduced by Microsoft. In previous blog I talked about the features and capabilities on Custom API. Also I did comparison between Custom API and Custom Action. Step – 1 Create new Custom API-> Navigate to make.powerapps.com and create new solution or open any existing solution->…… Continue reading {Microsoft Dataverse} Explore Custom API feature Part-2 in Dynamics 365

C# Code · Customization and Configuration · Dynamics Plugins · Functional Info

{Microsoft Dataverse} Explore Custom API feature Part-1 in Dynamics 365

Custom APIs offer a new code-first way to define messages that you can add to Dataverse web services. Conceptually, Custom APIs are an extension to Custom Actions that have provided a no-code way to include custom messages Compare Custom API with Custom Action CapabilityWorkflow Custom ActionCustom APIDescriptionDeclarative logic with workflowYesNoWorkflow Actions can have logic defined…… Continue reading {Microsoft Dataverse} Explore Custom API feature Part-1 in Dynamics 365

C# Code · Customization and Configuration · Dynamics Plugins

{Dynamics CRM 365 CE} Using a Party List as a Lookup for a Quickview Form

Dynamics Community Forum Question – My goal is to create a quick view for a few fields for our contact record on one of our activities (in this case the phone call). I can’t use the “Call from” because it’s a Party List and not a Contact Lookup field. Solution Approach Create new custom field…… Continue reading {Dynamics CRM 365 CE} Using a Party List as a Lookup for a Quickview Form

C# Code · Dynamics 365 WEB API · Dynamics Plugins

{Common Data Service} Pass shared variable to plugins execution pipeline from Organization service and WEB API

Introduction The shared variable property allows for including data that can be passed from the API or a plug-in to a step that occurs later in the execution pipeline. You can set a string value that will be available to plug-ins within the ExecutionContext in the SharedVariables collection. Note :- Shared variable passed from Organization Service and…… Continue reading {Common Data Service} Pass shared variable to plugins execution pipeline from Organization service and WEB API

C# Code · Customization and Configuration · Dynamics Plugins · Functional Info

{Dynamics 365} Set default values from the primary entity while creating new record from C#

When we create a record from Dynamics web application in the context of Parent entity then fields which are defined in relationship mapping will be automatically populated in Child record. For example – If we create Contact record from Account entity then fields such as Telephone 1 and address field auto populated. We can do…… Continue reading {Dynamics 365} Set default values from the primary entity while creating new record from C#

C# Code · Customization and Configuration · Data Migration And Integration

{Common Data Service} Apply Optimistic concurrency using Organization Service

Introduction On a multi-threaded and multi-user system like Power Apps, operations and data changes often happen in parallel. A problem arises when two or more update or delete operations on the same piece of data happen at the same time. This situation could potentially result in data loss. The optimistic concurrency feature provides the ability…… Continue reading {Common Data Service} Apply Optimistic concurrency using Organization Service