Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As bjynito said, you want to look at the <a href="http://msdn.microsoft.com/library/bb928212.aspx" rel="nofollow noreferrer">SDK</a>, espescially helpful when starting out will be the <a href="http://msdn.microsoft.com/en-us/library/bb887726.aspx" rel="nofollow noreferrer">Programming Reference</a></p> <p>Here is a sample of creating a contact from <a href="http://msdn.microsoft.com/en-us/library/bb928994.aspx" rel="nofollow noreferrer">a page in the programming ref.</a></p> <pre><code>// Set up the CRM Service. CrmAuthenticationToken token = new CrmAuthenticationToken(); // You can use enums.cs from the SDK\Helpers folder to get the enumeration for Active Directory authentication. token.AuthenticationType = 0; token.OrganizationName = "AdventureWorksCycle"; CrmService service = new CrmService(); service.Url = "http://&lt;servername&gt;:&lt;port&gt;/mscrmservices/2007/crmservice.asmx"; service.CrmAuthenticationTokenValue = token; service.Credentials = System.Net.CredentialCache.DefaultCredentials; // Create the contact object. contact contact = new contact(); // Create the properties for the contact object. contact.firstname = "Jesper"; contact.lastname = "Aaberg"; contact.address1_line1 = "23 Market St."; contact.address1_city = "Sammamish"; contact.address1_stateorprovince = "MT"; contact.address1_postalcode = "99999"; contact.donotbulkemail = new CrmBoolean(); contact.donotbulkemail.Value = true; // Create the contact in Microsoft Dynamics CRM. Guid contactGuid = service.Create(contact); </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload