locked
2016 SDK Removed the Xrm.Sdk.Client library RRS feed

  • Question

  • We use the clone method in the Microsoft.Xrm.Sdk.Client library. We use it to copy a number of custom entity records. Now that this library is removed in the 2016 SDK what is the replacement for the clone function?

    Thanks!


    Tim

    Wednesday, May 4, 2016 6:58 PM

Answers

  • In the SDK 2016 there is request for clone which is supported for the patch, solution, contract and product.

    But for the other entity clone request  is not supported by the Microsoft. For this you can use another approach i.e create the entity instance and add the attributes of the retrieved record of the entity, and then create the record.

    Thanks,

    Sam


    Dynamics CRM MVP | Inogic | http://inogic.blogspot.com| news at inogic dot com

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    • Marked as answer by Tim Klooster Thursday, May 5, 2016 10:52 PM
    Thursday, May 5, 2016 9:48 AM

All replies

  • In the SDK 2016 there is request for clone which is supported for the patch, solution, contract and product.

    But for the other entity clone request  is not supported by the Microsoft. For this you can use another approach i.e create the entity instance and add the attributes of the retrieved record of the entity, and then create the record.

    Thanks,

    Sam


    Dynamics CRM MVP | Inogic | http://inogic.blogspot.com| news at inogic dot com

    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful"

    • Marked as answer by Tim Klooster Thursday, May 5, 2016 10:52 PM
    Thursday, May 5, 2016 9:48 AM
  • I was hoping I missed something in the docs about a replacement for this function.  Removing functionality without an explanation is a bad practice.

    Thanks for responding Sam.


    Tim

    Thursday, May 5, 2016 10:52 PM