CRM 2011 and Silverlight – SDK Samples

Hopefully this post will save you the many hours I spent messing around with the Silverlight SDK samples in the CRM 2011 SDK. I was not able to get the Silverlight SDK samples to run. However after some simple changes I was able to get them to go. Here are the code changes I made…


CRM 2011 Custom Form Notification

The notification area on the CRM Form is a nice place to put information, warnings and critical information. This can be easily done with the following javascript function: addNotification = function (message, level) { var notificationsArea = document.getElementById(‘crmNotifications’); if (notificationsArea == null) { alert(‘div not found’); return; } if (level == 1) { //critical notificationsArea.AddNotification(‘mep1’,…

5

CRM 2011 Sub Grid Refresh

In CRM 2011 there is the new native feature of being able to place a sub grid in a form. It is very common that on the form you have a total or summary field that you want updated when data is added, updated or removed from the sub grid. The following code worked nicely…

3

Silverlight SDK Samples won’t open

So you want to check out the SilverLight samples in the CRM 2011 SDK but you get an error when you open the solution like “Microsoft.Silverlight.CSharp.targets was not found”. This is likely because you don’t have the Silverlight 4 Tools for Visual Studio 2010. You can donwload it here. http://www.microsoft.com/download/en/details.aspx?id=18149  


Account does not have performance counter permissions – CRM 2011

When installing CRM 2011 if you come across the following error: Then you need to update the domain account that you selected for the CRM services. To fix this do the following: 1) Logon to the CRM application sevrer. 2) Open the Computer Management tool. 3) Select Local Users and Groups -> Groups 4) Select…

2

How to populate CreatedOn with a date in the past

So you are loading data into Microsoft Dynamics CRM and you want the create on date to reflect the historical create date of the record and not the date it was loaded. This can be done by setting the historical date value in the overridencreatedon field on the entity. When the record is created instead…


How to enable ping response on Windows Server 2008

By default windows server 2008’s firewall blocks ping requests. Here is how you can enabled it: 1) Open the windows firewall console. 2) Click inbound rules. 3) Find “File and Printer Sharing (Echo Request – ICMPv4-In)” and click enable rule. (if you need IPv6 you will need to enable that too) Or by command line:…


How to disable the shutdown event tracker in Windows Server 2008

1) Open the group policy editor. Start->run->gpedit.msc 2) Navigate to Computer Configuration/Administrative Templates/System 3) Edit the “Display Shutdown Event Tracker” setting and select Disabled.

4

Find the Entity for a Localized Label

Have you ever exported labels for translation from Microsoft Dynamics CRM and then been left guessing the context of a label? All you get in the spreadsheet for localized labels is the columns object id, object column name and the languages installed (1033, 1036 etc). This does not leave you much to go on for…