MS CRM 2011 plugin RRS feed

  • Question

  • I do have a custom entity with two Forms.

    Entity name: new_Deal

    Form 1 : Information

    Form 2: Quick info

    I created a custom plugin based on C# to do certain actions.

    How to identify Form 1 from From 2? AS i would like to run the plugin on Form one only? I might write a new plugin that that would be applied on Form 2 only.

    Can you assist me?


    Tuesday, July 23, 2013 9:42 PM

All replies

  • If your plugin runs on Create or Update event, you can add to your forms a boolean field, this field will be set to true if the save action comes from Form1, set to false otherwise. Inside your plugin you can check easily the value.

    Of course this system isn't bulletproof, but maybe is enough for your requirements.

    My blog: www.crmanswers.net

    Tuesday, July 23, 2013 9:54 PM