locked
Disassociate plugin Triggering RRS feed

  • Question

  • Hi,

    I have two custom entities A and B. Whenever i make an association between two, my plugin is getting triggered.

    But on disassociation my plugin is not getting triggered.

    In both cases i need the same plugin to be triggered.

    When registering the plugin, Used 'Associate' as Message type. How can i include 'Disassociate' in the same?

    Monday, November 25, 2013 7:27 PM

All replies

  • Hi,
    did you try to register your plugin on Disassociate message ?
     


    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !!!
    Vikram Singh. !!!  My Blog

    Monday, November 25, 2013 11:38 PM
  • Hello,

    "When registering the plugin, Used 'Associate' as Message type. How can i include 'Disassociate' in the same?"- You can't register plugin for two messages at the same time, but can use same assembly for both the messages and can have code to handle differently based on message. So you have to register your plugin separately on disassociate method.


    Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.


    Tuesday, November 26, 2013 6:54 AM
    Moderator