locked
Calling another Plug-in from a plug-in using C# for MS Dynamics 2011 RRS feed

  • Question

  • Hi,

    I would like to know if there's a way i could call a plug-in from another plug-in.

    As shown above, from the (Plugin) NexusPluginLibrary.TransferOfBudget, i want to call the plug-in NexusPluginLibrary.UsageAndExpense specifically its update context step.

    I appreciate any prompt assistance/help. Thank you so much in advance.

    Best regards,

    Honey

     

    Monday, February 17, 2014 12:39 PM

All replies

  • Hi

    You can trigger the plugin which you want to use from some other plugin by updating some flag field.


    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful" Thank you, DT

    • Proposed as answer by Linn Zaw Win Monday, February 17, 2014 4:20 PM
    Monday, February 17, 2014 1:12 PM
  • Hi Linn Zaw Win,

    Do you have an example, so i can understand it more? 

    Thanks and regards,

    Honeu

    Tuesday, February 18, 2014 2:25 AM
  • What you can do is wrap appropriate reusable content from UsageAndExpense plugin in a static Helper class method so that you can call it anytime you want from anywhere passing in  parameters.

    • Proposed as answer by Ahmad Pirani Tuesday, February 18, 2014 4:26 PM
    Tuesday, February 18, 2014 4:26 PM