debug plugin dynamics 365 online - How to debug a plugin in Dynamics 365 online using plugin profile
Below are two courses that you can take to start your journey of becoming a Microsoft Dynamics 365 Developer.
Microsoft Dynamics CRM 365 Plugin Development Course Link: bit.ly/37JVqhQ
Microsoft Dynamics 365 - Custom Workflow Development Course Link: bit.ly/2AWKp0L
Subscribe for more: goo.gl/wwznrB
How to debug a plugin in Dynamics 365 online using plugin profiler
In this post, we’ll learn how one can debug a plugin code in Dynamics 365 online or Dynamics CRM online environment.
What you need is dynamics 365 SDK which you can download from here.
Below is the Step by Step procedure to debug a plugin in Dynamics 365/Dynamics CRM online:
Step 1: Download and extract the Dynamics 365 SDK in any folder.
Step 2: Now navigate to SDK\Tools\PluginRegistration
Here you’ll see pluginRegistration.exe file.
Double click on it and create a new connection.by clicking “Create New Connection”
Step 3: Click on login. It’ll ask for credentials.
Provide your dynamics 365 username and password and click sign in.
Step 4: Now it’ll display the available instances of your organization.
Select the one in which your plugin exists you want to debug.
It’ll display the list of an existing assembly deployed in that instance.
Step 5: Click on the install profiler button on the top ribbon of the Plugin Registration tool.
Once it’s done, it’ll look like this:
Step 7: Now perform the operation on which the above step has been registered.
It’ll generate an exception and a log file that you need to download and save.
It’ll be used in step 9.
Step 8: Now open the plugin solution in Visual Studio and Add the breakpoint in the plugin code from where you would like to debug.
Now click on debug and then click attach to process.
Below window will pop up where you need to select PluginRegistration.exe and click on attach:
Step 9: Now click on debug in the plugin registration tool as shown below:
Now below window will open where you need to select the log file downloaded in step 7 in Profile, specify plugin dll assembly location in Assembly location and select the step in Plugin as shown in below image and click “Start Execution“:
#dynamixacademy365 #dynamics365 #microsoftdynamics
Share this video with a friend: • M2L3: Microsoft Dynami...
Watch next - Microsoft Dynamics 365 Interview Questions & Answers: bit.ly/2EcNjN6
Recommended Playlist - What's New in Microsoft Dynamics 365? New Features in V9.0 bit.ly/2LMRVQl
You can also watch our Videos on the playlist:
Microsoft Dynamics CRM 365 Tutorials for Beginners - tinyurl.com/y8...
History of Microsoft Dynamics 365: bit.ly/2w0uwjL
Microsoft Dynamics 365 - Custom Workflow Development Course: bit.ly/2AWKp0L
Microsoft Dynamics CRM: bit.ly/2WPhcdF
Microsoft Dynamics 365 Business Central Introductory Course: tinyurl.com/wf...
Plugin Development in Microsoft Dynamics 365: tinyurl.com/rb...
Let’s connect:
Instagram: bit.ly/2YBdchI
WhatsApp: bit.ly/2JIN7Jf
Twitter: goo.gl/d84Qw9
Facebook: goo.gl/UQH3Eg
LinkedIn; bit.ly/2VwtOoO
15 окт 2024