locked
CRM 2011, Inserting Data using ODATA RRS feed

  • Question

  • I'm trying to insert an Entity (ex: Account, Opportunity, Contact) using the OData endpoint.

    Where should I be looking for examples for CRUD procedures ?

    I've been able to Read, Query, and Update, but not Create.

    Do I create the Guid for the Id or will the ODATA endpoint do this for me?

    How do I set OptionSetValue or EntityReference ?

    Thanks,

    Brian

     


    • Edited by Brian Beatty Wednesday, September 7, 2011 4:57 PM
    Wednesday, September 7, 2011 4:56 PM

Answers

All replies

  • Check this out:

     

    http://crmbusiness.wordpress.com/2011/04/14/crm-2011-how-to-set-optionsetvalue-in-a-plugin/

     

    and

     

    http://crmbusiness.wordpress.com/2011/03/09/crm-2011-using-odata-and-json/

    one more

     

    http://gtcrm.wordpress.com/2011/02/15/creating-crm-records-from-jscript-in-2011using-the-rest-end-point/

    • Edited by FutureSteel Wednesday, September 7, 2011 7:16 PM
    Wednesday, September 7, 2011 5:35 PM
  • Check out this link

    http://64.4.11.252/en-us/library/gg309549.aspx#BKMK_CrmODataJQueryJS

    MSDN link, the sample Create,Update,Delete,Retrieve operation using ODATA in CRM 2011 provided.


    Guru Prasad
    • Marked as answer by Brian Beatty Thursday, September 8, 2011 6:16 PM
    Thursday, September 8, 2011 5:57 AM