Xar.PluginTester 0.0.1

Easy way to dynamics crm plugin debugging.

Install-Package Xar.PluginTester -Version 0.0.1
dotnet add package Xar.PluginTester --version 0.0.1
<PackageReference Include="Xar.PluginTester" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xar.PluginTester --version 0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Tools that provide an easy way to debugging plugins for dynamics crm.

You can easily debug your plugins with easy use, if you wish you can write unit tests for your plugins with the advantage of this convenience.

  1. Create a new console or unit test application,

  2. Reference your plugin project,

  3. Define the required variables for your plugin
    and run your plugin

     string connectionString = @"AuthType=Office365;Username=jsmith@contoso.onmicrosoft.com;Password=passcode;Url=https://contoso.crm.dynamics.com";
     string primaryEntityName = "contact";
     Guid primaryEntityId = Guid.NewGuid();
    
     var target= new Entity(primaryEntityName, primaryEntityId);
    
     ParameterCollection inputParameters = new ParameterCollection();
     inputParameters.Add("Target", target);
    
     ParameterCollection outputParameters = new ParameterCollection();
     outputParameters.Add("id", primaryEntityId);
    
     new PluginProvider<TestPlugin>()
         .SetCrmConnectionString(connectionString)
         .SetPrimaryEntityId(primaryEntityId)
         .SetPrimaryEntityName(primaryEntityName)
         .SetInputParameters(inputParameters)
         .SetOutputParameters(outputParameters)
         .Execute();
    

Tools that provide an easy way to debugging plugins for dynamics crm.

You can easily debug your plugins with easy use, if you wish you can write unit tests for your plugins with the advantage of this convenience.

  1. Create a new console or unit test application,

  2. Reference your plugin project,

  3. Define the required variables for your plugin
    and run your plugin

     string connectionString = @"AuthType=Office365;Username=jsmith@contoso.onmicrosoft.com;Password=passcode;Url=https://contoso.crm.dynamics.com";
     string primaryEntityName = "contact";
     Guid primaryEntityId = Guid.NewGuid();
    
     var target= new Entity(primaryEntityName, primaryEntityId);
    
     ParameterCollection inputParameters = new ParameterCollection();
     inputParameters.Add("Target", target);
    
     ParameterCollection outputParameters = new ParameterCollection();
     outputParameters.Add("id", primaryEntityId);
    
     new PluginProvider<TestPlugin>()
         .SetCrmConnectionString(connectionString)
         .SetPrimaryEntityId(primaryEntityId)
         .SetPrimaryEntityName(primaryEntityName)
         .SetInputParameters(inputParameters)
         .SetOutputParameters(outputParameters)
         .Execute();
    

Release Notes

tools that provide an easy way to debugging custom workflow and plugins for dynamics crm.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.0.1 148 11/25/2019