Apr 21, 2025

Best way to read Plugin trace log

 All developers read Plugin trace log quite often when developing and investigating plugin issues. So if you add tracing in a meaningful manner it can pin point the erroneous point of the code. 

Anyway, one issue we face in this regards is its not easy to identify the exact trace log we are interested in. Suppose we analyze an issue in PROD environment where a lot of operations occur is same time. My personal opinion is its not even helpful with applying multiple filters to track the exact record.

In such situations, I find Plugin Trace Viewer (of Xrm Tool Box) helpful.


That's because, it allows you to apply many filters effectively by date, Plugin etc. which definitely help you fetch the exact trace you are searching for, evening with in lots of lots of traces. 


I am very thankful to Jonas Rapp who is the author of the tool.

You too will like it!

Mar 29, 2025

Restore deleted Dataverse records

Microsoft has now introduced (at this writing its in Preview), a way to restore deleted record. It is mimicking  the recycle bin of windows.

Enable the Feature

First you need to enable the feature. For that got to the Settings of the environment, browse to Features and simply enabled the Recycle Bin. Here you are also allowed to enable the number of days deleted records will be kept before deleting permanently. 


In a short while feature will be ready to use.

Use Recycle Bin to restore deleted records

Now browse to Data Management and notice you got link to View Deleted Records.


Select the record(s) from resulting view and click restore to reverse the deletion.