locked
What is the procedure to make use of CRM 4.0 Plugin dlls in CRM 2011 RRS feed

  • Question

  •  

    1)  As per the CRM2011, Plugins are backward compatible, we can make use of CRM 4.0 plugin dlls in CRM 2011. But we are unable to use them, as the CRM 4.0 plugin dlls are pointing to CRM 4.0 web services.

    Is there any mechanisum / procedure in making use CRM 4.0 plugin dlls in CRM 2011?

    Please help me in clarifying this.

    Monday, March 5, 2012 6:35 AM

All replies

  • Hi,
    In crm 4.0 to call a crm 4.0 web service it should be using the CreateCrmService method of the context parameter of IPluginExecutionContext type as follows

     context.CreateCrmService(true)

    So you don’t need to explicitly reference the CRM 4.0 web services.
    That will make your plugin compatible with the CRM 2011 web services which they also come with the CRM 4,0 asmx web services for backwards compatibility.


    Regards,
    Damian Sinay


    Monday, March 5, 2012 9:21 AM