locked
How to call the plugin on Activate Quote button in ms crm 2011 RRS feed

  • General discussion

  • Hi,

    I want to update the string field when I click on the Quote Active button in MS CRM 2011.

    I am calling the Plugin on SetStateDynamicEntity message Pre and Post stages but getting the error like as mentioned below.

    In PreStage: The given key was not present in the dictionalry

    In PostStage: The field is not update the form in readonly.

    So how can I update the field on Quote Activate button click in plugin.

    Please help.

    Yadav


    Yadav

    Thursday, July 25, 2013 7:01 PM

All replies

  • Hi Yadav,

                    You have to do it in the Pre stage, call the update method of the service using the id you get in the context.

    If you still have errors please send the code that you used that produced the error “The given key was not present in the dictionalry


    Regards,
    Damian Sinay

    Friday, July 26, 2013 5:29 AM