locked
crm 2011: How to use TargetRetrieveDynamic in crm 2011?? RRS feed

  • Question

  • Hi,

    Can anybody help me what is the alternate of 'TargetRetrieveDynamic' class which is present crm 4.0, in CRM 2011??

    I want to dynamically retrieve entity in crm 2011.


    Regards Karan Mittal

    Thursday, August 23, 2012 12:37 PM

Answers

  • Hi Karan,

    Target Retrieve Dynamic is obsolete in CRM 2011, and functionality is replaced now.

    You can retrieve any kind of entity either standard or custom in the single object called Entity.

    E.g

      Entity new_customentity = Service.Retrieve("name","GUID","columnset");

    Hope it helps.

    Thanks and regards,
    Hiren Solanki.
    Please vote or mark as a answer if it helped you.


    • Edited by Solanki Hiren Thursday, August 23, 2012 1:35 PM
    • Proposed as answer by Amreek Singh Thursday, August 23, 2012 1:40 PM
    • Marked as answer by Karan Mittal Thursday, August 23, 2012 1:42 PM
    Thursday, August 23, 2012 1:34 PM

All replies

  • Hi Karan,

    Target Retrieve Dynamic is obsolete in CRM 2011, and functionality is replaced now.

    You can retrieve any kind of entity either standard or custom in the single object called Entity.

    E.g

      Entity new_customentity = Service.Retrieve("name","GUID","columnset");

    Hope it helps.

    Thanks and regards,
    Hiren Solanki.
    Please vote or mark as a answer if it helped you.


    • Edited by Solanki Hiren Thursday, August 23, 2012 1:35 PM
    • Proposed as answer by Amreek Singh Thursday, August 23, 2012 1:40 PM
    • Marked as answer by Karan Mittal Thursday, August 23, 2012 1:42 PM
    Thursday, August 23, 2012 1:34 PM
  • Thanks.


    Regards Karan Mittal

    Thursday, August 23, 2012 1:43 PM