Posts

Showing posts with the label plugins

HOW TO MAP LOOKUP FIELDS INTO CURRENT RECORD

Image
As a Dynamics 365 consultant, you absolutely faced the scenario when changing a lookup field on the form, to map fields of the record chosen in the lookup into fields on the main form you are working on. In this post, I will show you some methods how to map fields from a lookup into the main record fields . Based on the requirements, you can apply the appropriate approach that is suitable for your need. JavaScript The first approach is to use JavaScript that requires a technical consultant to write the needed functions that will be executed on change event of the lookup field. What happens when you apply this approach A retrieve request should be done to get the values from the lookup that will be set on the main...

DYNAMICS 365 HOW TO DEBUG PLUGINS USING REMOTE DEBUGGER

Image
In another post , we saw how to debug a plugin using Profiler and highlighted a downside of this method which will not give you a real-time state of the Dynamics 365 database you are working on. However, in this post, I will show you how to debug a plugin in real-time of the execution of the plugin itself using the Visual Studio remote debugger tool . This method will only work for On-premises environments since you should install and run the tool on the CRM server. The below steps will teach you how to debug the plugins First things first, you have to download the remote debugger tool using this link based on the Visual Studio version you are working with Once the download is done, copy the installer on the CRM server and double click to install it ...

DYNAMICS 365 HOW TO DEBUG A PLUGIN USING PLUGIN PROFILER

Image
Often, you might face issue that it is not clear and you are not able to solve it due an error being raised in your plugins triggered. Therefore, you are obliged to debug the plugin in order to troubleshoot and solve the problem. In this post, you will learn how to debug your plugin of Dynamics 365 environment using Plugin Profiler in the Plugin Registration Tool. Below are the needed Step by Step procedure to debug a plugin Installing Plugin Profiler Open the Plugin Registration Tool From the menu, click Install Profiler to install it Once the installation is done, you will get a notification ...