locked
Plugin CustomerRelationship entity - CRM 2011 RRS feed

  • Question

  • Hello, gentlemen.

    I need to create a custom plug-in CRM 2011 in Customer Relationship entity that is activated before the creation or deletion of a record, but I am unable to figure out what the message should I use to intercept these actions.

    Thank you and count on the support of you!
    Tuesday, January 13, 2015 7:48 PM

All replies

  • Create a plugin and register your steps at Pre-operation in the event pipeline.

    You can add custom logic and throw an exception preventing them from Creating/Deleting the record.


    Ibrahim Sukari, Technical Consultant | SharePoint | Dynamics CRM | LinkedIn Profile

    Tuesday, January 13, 2015 11:22 PM
  • The CustomerRelationship entity supports the Create and Delete messages, so you should register your plugin on those messages

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Wednesday, January 14, 2015 1:07 PM
    Moderator
  • Write your plugin on Pre-event (pre validation stage) with message create or delete. Check below link for events and messages.

    http://msdn.microsoft.com/en-gb/library/gg327941.aspx

    http://msdn.microsoft.com/en-gb/library/gg328576.aspx

    Thanks,

    Anand

    Thursday, January 15, 2015 10:18 PM