Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Microsoft Dynamics CRM 2016

You're reading from   Mastering Microsoft Dynamics CRM 2016 An advanced guide for effective Dynamics CRM customization and development

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781786466617
Length 402 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Deepesh Somani Deepesh Somani
Author Profile Icon Deepesh Somani
Deepesh Somani
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. History of Dynamics CRM FREE CHAPTER 2. Working with Sales 3. Working with Services 4. Working with Marketing 5. Working with the XRM Framework 6. Analytics with CRM 7. Workflow Development with Dynamics CRM 8. Client-Side Scripting 9. Enhancements for Mobile 10. Plugin Development with Dynamics CRM 11. Business Process Flows and Business Rules 12. New Features in CRM 2016

Writing a plugin

Plugins are custom classes that implement the IPlugin interface. The class can be written in any .NET framework-compliant language such as Microsoft Visual C# or Microsoft Visual Basic .NET. The following screenshots illustrate how users can create a plugin project.

  1. Firstly, the user can create a new class library project:

Creating a Plugin Class Project
  1. After the project is created, the user can add a new Class... item to the project. The new class would act as the plugin class:
  1. Here's how we can add a new class file to the solution:
Selecting the appropriate item type
  1. All the plugin projects must have a reference for the Microsoft.Xrm.Sdk and Microsoft.Crm.Sdk.Proxy assemblies.

If a person is writing a plugin for the first time, they must download the appropriate Dynamics SDK matching the target environment. You can refer to this MSDN...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image