微软CRM 开发学习笔记 使用c#编写插件(plugin)的方式实现页面执行操作

使用c#编写插件(plugin)的方式实现页面执行操作 的时候需要额外做的事情

包括事件:1实体验证(pre-validation 2方法执行之前(pre-operation) 3 post提交之后(post-operation)   [可以使用 同步、异步的方式实现方法操作]

第一步 开发插件代码生成dll

微软CRM 开发学习笔记 使用c#编写插件(plugin)的方式实现页面执行操作

第二步 使用工具注册dll (PluginRegistration.exe)2016SDK\SDK\SDK\Tools\PluginRegistration\ PluginRegistration.exe

 微软CRM 开发学习笔记 使用c#编写插件(plugin)的方式实现页面执行操作

如出现 缺少key.snk文件的情况 需要添加key

 微软CRM 开发学习笔记 使用c#编写插件(plugin)的方式实现页面执行操作