SDK Release History for V5.0.4

[Applies to: Microsoft Dynamics CRM 2011]

This page contains the list of significant changes made to the SDK Version 5.0.4, June 2011 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 with new information for this release.

SDK\Bin

Updated the assemblies for Microsoft Dynamics CRM Update Rollup 2. 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\Resources\ExportedRibbonXml

Moved the location of the exported ribbon definitions from SDK\SampleCode\CS\Client\Ribbon\ExportRibbonXml\ExportedRibbonXml to SDK\Resources\ExportedRibbonXml .

Updated the following topics to reflect this change:

SDK\Resources\Images

Added new images to this folder, which are available for use in customized applications.

SDK\Walkthroughs\Portal

Updated all three portal developer guide walkthrough solutions. For a complete list of changes, see the SDK readme file: Microsoft_Dynamics_CRM_2011_SDK_Readme.htm .

HelperCode\SystemUserProvider.cs
\VisualizationsAndDashboards\AssignDashboardToUser.cs
\VisualizationsAndDashboards\AssignVisualizationToUser.cs
\GeneralProgramming\EarlyBound\BasicContextExamples.cs
\GeneralProgramming\Authentication\ImpersonateWithOnBehalfOfPrivilege.cs
\BusinessDataModel\Marketing\MarketingAutomation.cs
\BusinessDataModel\Goals\OverrideGoalTotalCount.cs
\BusinessDataModel\ScheduleAndAppointment\QueryScheduleOfMultipleUsers.cs
\FieldSecurity\RetrieveSecuredFieldsForAUser.cs
\BusinessDataModel\Goals\
RollupAllGoalsForCustomPeriodAgainstTargetRevenue.cs
\BusinessDataModel\Goals\
RollupAllGoalsForFiscalPeriodAndStretchedTargetRevenue.cs
\GeneralProgramming\EarlyBound\SharingRecords.cs
\BusinessDataModel\Goals\UsingQueriesToTrackGoals.cs
\BusinessDataModel\BusinessManagement\WorkingWithNegativePrices.cs

Changed the code in SystemUserProvider so that it does not attempt to create a user if the client application is connected to Microsoft Dynamics CRM Online . The changes to the SystemUserProvider class required changes to all the C# and VB samples that use that class. Only the changed C# samples are shown here for brevity. All changes are in the folders SDK\SampleCode\CS or SDK\SampleCode\VB.

SDK\SampleCode\JS\SOAPForJScript\SOAPForJScript\Scripts\SDK.MetaData.js

Updated the SDK.MetaData.jsJScript library to address three issues:

SDK\SampleCode\VB\*

Added Microsoft Visual Basic .NET versions of the existing C# samples.

SDK\Tools\MetadataBrowser\MetadataBrowser_1_0_0_2_managed.zip

Updated the Metadata Browser to reflect changes to the SDK.MetaData.jsJScript library.

Active Directory and Claims-Based Authentication

Added information about the lifespan of a security token and how to refresh the token in applications that take a long time to run.

Create Custom Get Started Pane Content

Included a note that customizing the application Help content for Microsoft Dynamics CRM 2011 (on-premises) is not supported.

Create Early Bound Entity Classes with the Code Generation Tool (CrmSvcUtil.exe)

SDK\SampleCode\CS\CrmSvcUtilExtensions

Added a sample extension for the CrmSvcUtil program that generates early-bound types for custom entities.

CrmSvcUtil.exe Extension Usage and Command-Line Parameters

Removed documentation for an invalid command-line parameter for the servicecontextprefix extension.

Customize Entity Forms

Added Microsoft Dynamics CRM for Outlook Reading Pane Forms section to describe how form customizations apply to the reading pane.

Privileges by Entity

Privileges by Message

Added detailed reference information for each entity and message, describing the privileges required. A small percentage of these topics are still marked as coming soon.

Run a Simple Program Using Microsoft Dynamics CRM Web Services

Helper Code: ServerConnection Class

SDK\SampleCode\CS\HelperCode\CrmServiceHelpers.cs
SDK\SampleCode\VB\HelperCode\CrmServiceHelpers.vb

Added support for saving and re-using server configurations, making it easier to run the sample code repeatedly with minimal prompts.

Sample: Invoke Duplicate Detection for Creating and Updating Records

SDK\SampleCode\CS\DataManagement\DuplicateDetection\
InvokeDuplicateDetectionForCreateAndUpdate.cs
SDK\SampleCode\VB\DataManagement\DuplicateDetection\
InvokeDuplicateDetectionForCreateAndUpdate.vb

Added a new sample demonstrating how to invoke duplicate detection in create and update operations.

Sample: Create an Email Using a Template

SDK\SampleCode\CS\BusinessDataModel\Templates\
CreateEmailUsingTemplate.cs
SDK\SampleCode\VB\BusinessDataModel\Templates\
CreateEmailUsingTemplate.vb

Added a new sample demonstrating the use of the InstantiateTemplateRequest message.

Sample: Send an Email

SDK\SampleCode\CS\BusinessDataModel\Activities\SendEmail.cs
SDK\SampleCode\VB\BusinessDataModel\Activities\SendEmail.vb

Added a new sample demonstrating the use of the SendEmailRequest message.

Sample: Use LINQ with Late Binding

SDK\SampleCode\CS\Queries\UseLinqWithLateBinding.cs
SDK\SampleCode\VB\Queries\UseLinqWithLateBinding.vb

Added a new sample that shows how to use LINQ with late bound entities.

Troubleshooting Tips

Added a tip about a common exception when using the CrmSvcUtil.exe program.

Use Messages (Request and Response Classes) with the Execute Method

Pass Optional Parameters in Messages

Run Duplicate Detection

Indicated that passing the CalculateMatchCodeSynchronously optional parameter is not required any longer. The change was implemented in the Microsoft Dynamics CRM 2011 Update Rollup 1 and Microsoft Dynamics CRM Online April Service Update.

Use the REST Endpoint with Ajax and JScript Web Resources

Corrected information in the Working with Dates section and provided new information about additional tasks related to working with dates.

Write a Custom Azure-Aware Plug-In

SDK\SampleCode\CS\Azure\Plug-ins

Clarified that a service endpoint ID must be passed to the plug-in at run time through the unsecured configuration parameter of the constructor.

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.