Exercise - Install and use developer tools
In this exercise, you'll install some of the developer tools from NuGet.
Important
Use a test environment with Microsoft Dataverse provisioned. If you do not have one you can sign up for the community plan.
Task 1: Install developer tools
In this task, you'll use a Power Platform CLI to install tools.
Launch Command Prompt.
Run the command below to install the Configuration Manager Tool.
pac tool cmt
The Configuration Manager Tool should install and launch. Close the Configuration Manager Tool.
Run the command below to install the Package Deployer Tool.
pac tool pd
The Package deployer tool should install and launch. Close the Package Deployer Tool.
Run the command below to install the Plugin Registration Tool.
pac tool prt
The Plugin Registration should install and launch. Don't close the Plugin Registration Tool.
Task 2: Explore a registered plug-in with the plug-in registration tool
Select Create New Connection
Check Display list of available organizations.
Select Login and sign in with your Dataverse environment credentials when prompted.
On the list of organizations (environments) pick your environment and select Login again.
You'll see a list of system plug-ins, if you do this on an environment with custom plug-ins you would see them in the list as well. The (Assembly) are .NET DLLs that implement the plug-ins.
Locate Microsoft.CDS.DataLakeDataProvider.Plugins and expand it.
Each of the child items is implemented in the assembly. Expand one of the items to see the step registrations for that individual plug-in.
Step registration connects the plug-in as an event handler to the event. In the above example, this is handling a create on the insightsstorevirtualentity table.
Double-click on the step to see the step configuration details including what message and entity, it's registered on, the pipeline stage when the plugin will be invoked, whether execution is synchronous or asynchronous, etc.
When you create your own custom plug-in, you'll use this tool to load the assembly and register the steps for the events that you want to handle.