Written by Vijay Annem, Senior Software Engineer
Within Microsoft Dynamics 365, advanced users (developers and admins) have the ability to perform an Advanced Find to query the plugin traces, however Dynamics 365 has vast limitations when it comes to showing only relevant information. That is where the XrmToolbox - Plugin Trace Viewer (PTV) comes into play. PTV allows these advanced users the ability to take a deeper dive into Plugin Trace Logs by adding filters and configuring the displays that results in the ability to view and organize data that they want to see.
The Microsoft Dynamics 365 limitations include:
- Cannot include Message Block or Exception Details as columns in the query.
- It is not possible to filter and view only exception related traces when “All” is the plugin tracing option in Settings.
- It is not possible to use hours and minutes when needed to query plugin traces by “Create On”.
The XrmToolbox - Plugin Trace Viewer not only addresses these limitations, it also facilitates the below query options allowing the ease of filtering and viewing:
- Filter only Exceptions by selecting a check box
- Filter by Stage i.e. Pre Operation or Post Operation by selecting a check box
- Filter by Mode i.e. ASync or Sync by selecting a check box
- Specify range of duration
- Max number of records to fetch
- Filter by “Created On” with Date and Time stamps including minutes
- Filter with Plugin name by using a drop down
- Filter with Message or Event name by using a drop down
- Filter with Entity by using a drop down
- Filter with Correlation ID
After filtering, double click plugin trace row, the specific trace will open in a separate browser window. Furthermore, you can get a correlation id from a specific trace and use this to further get all plugin traces that happened as part of an event.
For up-to-date information and more details on features of the Plugin Trace Viewer, please visit the Plugin Trace Viewer website.