Thursday, October 28, 2010

Create CRM Plugin in CRM 2011

Here is an example of creating Plugin Dll for Microsoft Dynamics CRM 2011.
Microsoft has changed the Plugin Dll code, more options to register between CRM 4 and CRM 2011.
1.       Create Dll from type class library.
















2. Write Code for Plugin like this example. in my example when update contact create a new task.
  need to  add key  ( Sign this assembly - because the option to put the dll in GAC )























3. Open Plug in Registration and insert the next parameters
Label: free text. In usual i give label like organization name to prevent mistakes
Discovery URL: http://localhost:5555/XRMServices/2011/Discovery.svc
User name: Deployment admin.































4. Register the Dll

 5. Register Step I in my example the event is Update for Contact Entity)

6. Update Contact:



 7. Result: Create Task successed






Enjoy,
Rami Heleg

No comments:

Post a Comment