Upgrading CRM 4 plugin for CRM 2013 RRS feed

  • Question

  • I am trying to convert a custom workflow step plugin from CRM 4 to work in CRM 2013.

    It uses TargetRetrieveEmail from Microsoft.Crm.SdkTypeProxy but I can't find TargetRetrieveEmail or SdkTypeProxy in the 2013 SDK. Are there any converter tools out there for plugin code in C#? Or a list of what classes have been changed to?

    Wednesday, February 26, 2014 12:25 PM

All replies

  • Hi,
    If I'm right all the TargetRetrieve classes (like TargetRetrieveEmail or TargetRetrieveAccount) are obsolete starting from CRM 2011. If you need to retrieve an entity you can use the standard Retrieve, something like:

    service.Retrieve("email", emailId, new ColumnSet(true));

    My blog: www.crmanswers.net - Rockstar 365 Profile

    • Proposed as answer by Guido PreiteMVP Wednesday, February 26, 2014 3:03 PM
    Wednesday, February 26, 2014 3:03 PM