d365-plugin-generator
v1.0.2
Published
Generates Dynamics 365 CE Plugin Template
Downloads
10
Readme
plugin-generator-cli
CLI Tool for generating C# Plugin Files based on Templates. Currently only generates Late Bound Plugins.
This tool is a work in progress.
Index
Installation
# Using npm, installing to local project
npm i --save d365-plugin-generator
# Using npm, installing globally for global cli usage
npm i -g d365-plugin-generator
# Using yarn
yarn add d365-plugin-generator
Options
File Path
: Determines the File Path for the Selected Template FolderProject Templates
:- Simple Plugin: Early Bound Plugin. All Stages and Messages selected will be generated in a single file. Requires the Helper File (included).
Namespace
: The Namespace of the PluginClass Name
: The Class Name of the PluginEntity
: The Logical Name of the entityConfiguration (Messages and Stages)
:- Create
- Pre-Validation
- Pre-Operation
- Post-Operation
- Update
- Pre-Validation
- Pre-Operation
- Post-Operation
- Delete
- Pre-Validation
- Pre-Operation
- Post-Operation
- Create
Templates
Simple Plugin
Generates the following files
helper.cs
: A helper file that contains Message and Stage constants.simplePlugin.cs
: A Plugin Class File based on the configuration setting specified in the CLI.simplePluginFull.cs
: A Plugin Class File with all Messages and Stages populated.