Continuing the series about useful tools for D365FO developers I would like to present a set of Visual Studio add-ins speed up common development tasks - TRUDUtils, made by Denis Trunin. In this post I will provide installation guide and my favorite features.

Installation Link to heading

Close Visual Studio and then download and run the following PowerShell script. It will download the latest version of the add-ins from GitHub into C:\Temp\TRUDUtils and run the installer. Stating Visual Studio you can verify that the installation completed successfully by checking Dynamics 365 add-ins menu:

Dynamics 365 add-ins menu with TRUDUtils installed

Usage Link to heading

Table builder Link to heading

The tool can be found in Dynamics 365 add-ins menu and is especially useful for prototyping. It helps you create do all the ground work of creating a new table in one click. It creates a new EDT for a key field, creates a table with it populating the default properties, adds field group and find method and optionally creates an Simple list form with menu item and privileges:

Table builder dialog

Form builder Link to heading

A popular form pattern is a Simple List and Details, which also requires a lot of repetitive work. Well, not anymore - with form builder, accessible from the Add-ins menu after a right click on a table element, you can specify the list of tab labels, grid and header field groups and then receive almost complete form, along with the menu item and privileges:

Form builder dialog

Data contract class builder Link to heading

Clicking Dynamics 365 -> Add-ins -> DataContract class builder allows you to create a complete SysOperation data contract, along with the parm methods, field group and mandatory attributes from a list of fields. It also allows to generate report data provider (DP) and SysOperation controller, which you may not actually need:

Data contract class builder dialog

And more! Link to heading

Full description and source code for this awesome tool are available in this github repository.