locked
how to Create Entity with Attributes using SDK or Webservice in CRM 2011? RRS feed

  • Question

  • how to Create Entity with Attributes using SDK or Webservice in CRM 2011?

    i wanted to create many Entity with many Attributes with Different Data Types and if i will do Manually it will take much more time so is some one have good Example to create the Attributes?

    Thanks in Advance

    Thursday, February 28, 2013 12:33 PM

All replies

  • Please check the following links

    http://msdn.microsoft.com/en-in/library/gg328416.aspx

    http://mahenderpal.wordpress.com/2012/09/19/working-with-ms-crm-2011-data-types/


    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
    Vikram !

    Thursday, February 28, 2013 12:36 PM
  • Thanks for reply _Vikram  but i am looking for Creating the Attribute Dynamically & not the Record Creation.

    Thursday, February 28, 2013 12:38 PM
  • sorry, please refer following links

    http://raotayyabali.wordpress.com/2012/04/21/ms-dynamics-crm-2011-metadatacreate-new-entity/

    http://msdn.microsoft.com/en-in/library/gg509014.aspx


    Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !
    Vikram !

    Thursday, February 28, 2013 12:44 PM
  • Hi

    // to  create account

    Entity  entity = new entity("account");

    account.attributes["name"]=name;

    // use the service to create entity object

       service.create(account);

    I am using latebound entity here.


    Thursday, February 28, 2013 6:42 PM