SDK Release History for V5.0.10

[Applies to: Microsoft Dynamics CRM 2011]

This page contains the list of significant changes made to the SDK Version 5.0.10, March 2012 for Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online.

Tip

This is not the current version. To find the release history for the current version, see Release History.

New and updated topics Description of changes

Microsoft_Dynamics_CRM_2011_SDK_Readme.htm

Updated the readme for this version of the SDK package.

SDK\Bin

Updated the assemblies for Microsoft Dynamics CRM 2011 Update Rollup 7. For on-premises customers, updates and hotfixes can be installed automatically from Microsoft Update. You can also search for updates on the Microsoft Download Center. For online customers, update rollups will be deployed automatically to your organization.

SDK\SampleCode\CS\Metadata\Attributes\DumpPicklistInfo.cs
SDK\SampleCode\VB\Metadata\Attributes\DumpPicklistInfo.vb

Added code to output the mapping between the statecode and statuscode option set values. Also, updated the Entity Option Set Metadata topic for each entity that has statecode and statuscode attributes. These topics now include a table that shows the mapping between these values. For an example of this, see Email (E-mail) Entity OptionSet Attribute Metadata.

SDK\SampleCode\CS\WsdlBasedProxies
SDK\SampleCode\CS\WsdlBasedProxies\Online\LiveIdAuthenticationPolicy.cs
SDK\SampleCode\CS\WsdlBasedProxies\Online\Program.cs
SDK\SampleCode\VB\WsdlBasedProxies
SDK\SampleCode\VB\WsdlBasedProxies\Online\LiveIdAuthenticationPolicy.vb
SDK\SampleCode\VB\WsdlBasedProxies\Online\Program.vb

Added instructions in the setup.txt files to obtain the service URL from the web application. Added a new authentication policy sample. In the Online\Program.cs|vb files, removed the user inputs for AppliesTo, Policy, and IssuerUri and added code to retrieve these values from the Web Services Description Language (WSDL).

Active Directory and Claims-Based Authentication

Performance Best Practices

Added new performance information about retaining a service proxy instance throughout an application’s session.

Client-Side Context Reference

Updated the example for getServerUrl to https://localhost:2525 when Microsoft Dynamics CRM for Microsoft Office Outlook is offline.

Create Extensions for the Code Generation Tool

Changed the interface name for the /codecustomization parameter to ICustomizeCodeDomService .

Default Privileges for a Role

Made significant improvements to this topic.

Deployment Table Metadata (Advanced Settings)

Organization Table Metadata (Advanced Settings)

Added information about the new settings that were added in Microsoft Dynamics CRM 2011 Update Rollup 7 .

Design Considerations for Different Form Presentations

Added a new topic with guidance about two types of read-only forms: the new read-optimized forms included in Microsoft Dynamics CRM 2011 Update Rollup 7 and the Microsoft Dynamics CRM for Microsoft Office Outlook reading pane.

Helper Code: DeviceIdManager Class

SampleCode\CS\HelperCode\DeviceIdManager.cs
SampleCode\VB\HelperCode\DeviceIdManager.vb

Added significant code changes including additional error handling for the device registration process.

IOrganizationService Entities

Added information about the ReplicationBacklog entity. This entity is for internal use only.

Performance Best Practices

Added information about allowing the system to generate GUIDs for better performance.

Sample: Audit Entity Data Changes

SampleCode\CS\DataManagement\Auditing\Program.cs
SampleCode\VB\DataManagement\Auditing\Program.vb

Updated the sample code to include a demonstration of the following messages: RetrieveAttributeChangeHistoryRequest and RetrieveAuditDetailsRequest .

Sample: Distribute Campaign Activities to Dynamic and Static Lists

SampleCode\CS\BusinessDataModel\Marketing\MarketingAutomation.cs
SampleCode\VB\BusinessDataModel\Marketing\MarketingAutomation.vb

Updated the sample code to demonstrate how to retrieve the members of a list without specifying the entity type for the list member, such as a lead, contact, or account.

Sample: Retrieve Secured Field Access Records

Added a new sample to show how to retrieve PrincipalObjectAttributeAccess (secured field access) records.

Sample: Rollup Records Related to a Specified Record

SampleCode\CS\BusinessDataModel\
BusinessManagementSampleCode\RollupByObject.cs
SampleCode\VB\BusinessDataModel\
BusinessManagementSampleCode\RollupByObject.vb

Added a new sample showing how to retrieve records that are related to a specified record. In this sample, the opportunities are rolled up by their parent account.

Security Role UI to Privilege Mapping

Privileges Not Associated with an Entity

Made minor corrections to these topics.

Sample: Use Deployment Service Messages

SampleCode\CS\DeploymentService\UseDeploymentServiceMessages.cs
SampleCode\VB\DeploymentService\UseDeploymentServiceMessages.vb

Fixed a problem in the sample code that caused authentication to fail. Added a Visual Basic version of the sample code.

Walkthrough: Create a New Workflow in Visual Studio

Sample: Create a Workflow in Code

SampleCode\CS\Process\Workflows\CreateAWorkflow.cs
SampleCode\VB\Process\Workflows\CreateAWorkflow.vb

Updated the walkthrough, and added a new sample that demonstrates how to create a workflow in code.

See Also

Other Resources

Release History
Software Development Kit for Microsoft Dynamics CRM

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.