CRM 2011 – A List of CRM 2011 Build and version numbers

I had to figure out what version of CRM 2011 I had installed on my Development environment and it’s always difficult when you have to work this out when all you have is a version number displayed in Deployment manager.

I have googled this before and never been able to find a list of the version numbers so I have made one.

 

Version Build Number Release Date KB Articles:
RC 5.0.9688.53
RTM 5.0.9688.583 16/02/2011  
Update Rollup 1 5.0.9688.1045 07/04/2011 KB2466084
Update Rollup 2 05.00.9688.1155 06/06/2011 KB2466086
Update Rollup 3 05.00.9688.1244 26/07/2011 KB2547347
Update Rollup 4 05.00.9688.1450 9/19/2011 KB2556167
Update Rollup 5  05.00.9688.1533 10/20/2011 KB2567454
Update rollup 6 05.00.9690.1992 1/20/2012 KB2600640

CRM 2011 – 66×48 Icons not used in CRM 2011

Whilst reading Jamie Miley’s blog post this week which was primarily linking to the 100 CRM videos from slowxrm which you can find here but he also added a paragraph about 66×48 icons which I didn’t understand at first but then thought, WHAT, imagine all the time that has been wasted with with people creating this extra images

So how have we got here, well Jim Daly at MSFT pointed out to Jamie Miley that the 66×48 icons you upload to entities are not actually used for anything.

Anyone who has added a new entity and wanted to make an icon for it would have had to do some extra work to get it into the odd shape of 66×48 and it now turns out that it was all for nothing.

Initially I thought this can’t be true but Jamie had a link on his site

Which says about the icon
66x48px
This size icon is not used in Microsoft Dynamics CRM 2011. The application incorrectly labels this as the Icon in Entity forms.
talking of icons, there is a great post with links to royalty free icons, you can get to it by clicking the link below
There is also CRM4 there is a tool called MSDYCRM40_Demonstration Tools which you can download http://www.microsoft.com/download/en/details.aspx?id=17873 and this allows you to choose an image and it creates the icon images of the correct size for you.

CRM 4 Mainstream support date ends in 2013

Donna Edwards who is a CRM MVP and pops up all over the CRM world commenting on forums, facebook, twitter and blogs always with useful bits of information tweeted a very interesting link a while ago about support dates for CRM versions.

but before I go into that I recommend you follow Donna via her twitter account – https://twitter.com/#!/edwardsdna

and subscribe to her blog http://edwardsdna.wordpress.com/

When it comes to supporting versions of CRM, I thought it was Microsoft’s policy to support the last two versions but Donna Edwards tweeted this Microsoft page which shows a date, which is useful information to give to your clients who are on Microsoft Dynamics CRM 4.

There is a Lifecycle Support Policy FAQ which is interesting and below I have copied the support dates from this original page.  For my UK readers, these dates are in American format so it’s the 09/04/2013.  Also with all the great enhancements coming to CRM 2011 soon, I think a lot of people will be upgrading

Products Released General Availability Date Mainstream Support End Date Extended Support End Date Service Pack Support End Date Notes
CRM 1.0 1/1/2003 7/11/2006 Not Applicable
CRM 1.2 10/31/2003 1/9/2007 Not Applicable
Dynamics CRM 2011 5/18/2011 7/12/2016 7/13/2021
Dynamics CRM 3.0 12/1/2005 4/12/2011 4/12/2016
Dynamics CRM 4.0 2/29/2008 4/9/2013 4/10/2018

CRM 2011 – Great list of resources

The excellently named blog Mad Computerist has a really good collection of links and resources.

They are split up into sections such as installing, plugins, Javascript, reports, tips, tools, etc.

it also has links to the rollups

The link below will take you to the full list of goodness and it’s worth bookmarking

http://madcomputerist.blogspot.com/2011/06/new-features-in-microsoft-dynamics-crm.html

a taster below of a couple of the topics I thought were really useful.

Installation and Configuration
Connector for Microsoft Dynamics installation guides
Installing Active Directory On Windows Server 2008
Installation of Microsoft Dynamics CRM 2011 Standalone Sandbox Using VirtualBox Part 1
Installation of Microsoft Dynamics CRM 2011 Standalone Sandbox Using VirtualBox Part 2
Rename a Windows Server 2008 domain
Using Windows Server 2008 as a Workstation

Others
Resources
Common CRM interview questions
Developer Training Videos
Excellent video resources CRM 2011
100+ videos dedicated to Microsoft Dynamics CRM 2011

Microsoft Dynamics CRM Server 2011
Microsoft Dynamics CRM 2011 for Microsoft Office Outlook
Microsoft Dynamics CRM 2011 List Component for Microsoft SharePoint Server 2010
Microsoft Dynamics CRM 2011 Report Authoring Extension
Microsoft Dynamics CRM 2011 Implementation Guide
Microsoft Dynamics CRM 2011 Software Development Kit (SDK)
Microsoft Dynamics CRM 2011 Developer Training Kit

JavaScipt

Accessing the Parent Form from a Child Form
Calling External Webservice with Javascript Asynchronously
Close MS CRM 2011 Form without Prompt
Dynamically Show Different Form onLoad
Enable Disable Notes Control
Events in onSave method (List of event.Mode)
Excessive Sub-Gridding for more than 4
Filtered Lookup for “Add Existing…” Button of a CRM N:N View
Get Current User ID and Name
Get Selected Record Guid from a Subgrid
Link two subgrids on a form together (parent-child-grids)
Pass Microsoft Dynamics CRM Data From a Page as a Parameter to Ribbon Actions
Populate Lookup Field with String Value (without GUID) using Automatic Resolution
Showing Custom Form Alerts
Update records of a Sub-grid using OData JSON JQuery

Another blogger (Srikanth Reddy) copies CRM blog posts

It seems like the blogger is copying some my blogs and other CRM blogs, so if you are a CRM blogger you might want to check the blog http://srikanthcrm.wordpress.com written by Srikanth Reddy to see if he has copied one of your blog posts.

on to the examples

Here is my blog

https://crmbusiness.wordpress.com/2011/02/17/crm-2011-javascript-xrm-page-basics/

and here is the copy, the exact copy

http://srikanthcrm.wordpress.com/2012/02/23/crm-2011-javascript-xrm-page-basics/

amusing the blogger has left in references to variables with the word Hosk and links to other Javascript blogs he has written which point back to my blog.

The reason I noticed this was because commented in one my blogs that the examples I had used were too complex and he had written a blog with more basic examples!!!!

I thought I should mention it here because he may have copied other peoples blog posts

like this one

http://srikanthcrm.wordpress.com/2012/01/28/crm-4-to-crm-2011-javascript-converter-tool/

where he claims to have written a javascript tool to convert Javascript CRM 4 to CRM 2011.  Where I am pretty sure Rhett Clinton wrote that

and here is the real blog post

http://bingsoft.wordpress.com/2010/09/09/crm-4-to-crm-2011-javascript-converter-tool/

 

CRM/NAV Connector – Crm Exception: Message: entity doesn’t contain attribute with Name = ‘name’

I have had two very frustrating days wrestling with the connector or to call it by its proper name the Connector for Microsoft Dynamics.

I was trying to map Jobs to Contracts, this worked fine, a bit of tinkering to work out what values I needed to put into Contract template lookups but this is to be expected.

I then wanted to map Job Planning Lines to Contract lines.

initially when I put in Job Planning Lines the form in NAV had a header record.  This meant that I couldn’t generate a 1 to 1 mapping between Job Planning Lines and Contract lines because the header would be one record and the individual planning lines would be child records.

Eventually to get round this I put in the form as

Job Planning Line Subform

This is the child form on the Job Planning Line form, so it excluded the header.

I then ran the Connector config utility for NAV but because I had run it before it now doubled up and I had Integration Job Planning Lines and Integration Job Planning Lines Subform.

I also did something similar in CRM and ended up with duplicates for Contracts and Contract lines.

I’m not entirely sure why this happens but its very annoying.

In the end I had to delete the maps which are held in here and will be held with the name of the organisation/company you are mapping

NAV

C:\Program Files (x86)\Microsoft Dynamics\Microsoft Dynamics Adapter\Adapters\Microsoft.Dynamics.Integration.Adapters.Nav2009\ObjectConfig

CRM

C:\Program Files (x86)\Microsoft Dynamics\Microsoft Dynamics Adapter\Adapters\Microsoft.Dynamics.Integration.Adapters.Crm2011\ObjectConfig

I then ran the config utilities again and the duplicates were removed.  I have no idea why this happens but it happens a lot and is quite annoying.

I then tried to map the Job planning lines and the contract lines now I had a one to one relationship.

I was getting this odd error

>Crm Exception: Message: ‘Contract’ entity doesn’t contain attribute with Name = ‘name’., ErrorCode: -2147217149

The reason I was getting this error is because I think the connector defaults it’s fetchXML to assume their is always a field called name.  Contract unlikely for me changed this to be title.

This just didn’t work and I could find any information on the subject until I finally found this forum

http://social.microsoft.com/Forums/en-US/crm/thread/6cf88569-3283-4902-b28b-f327ee1b27d6/

Some excellent person found a solution, I also got some help from Konstantin Levchenko who has an excellent CRM/NAV Connector blog, have a look http://nav-connector.com/

to get this to work I had to create a plugin which intercepts the fetchXML by catching RequestMultiples and then change the FetchXml to not use Name but to use DynamicsIntegrationKey and then it works.  This seems a crazy situation and why haven’t Microsoft written this as a plugin within instructions on how to do it.

       public void Execute(IServiceProvider serviceProvider)
        {
            // Obtain the execution context from the service provider.
            Microsoft.Xrm.Sdk.IPluginExecutionContext context = (Microsoft.Xrm.Sdk.IPluginExecutionContext)
                serviceProvider.GetService(typeof(Microsoft.Xrm.Sdk.IPluginExecutionContext));

           if (context.PrimaryEntityName.Contains("<prefixforCustomEntities>")) //Replace with your prefix
            {

                tracingService.Trace("in the if statement");
                if (context.InputParameters.Contains(("Query")))
                {

                    QueryExpression query = (QueryExpression)context.InputParameters["Query"]; ;
                    FilterExpression fexp = query.Criteria;
                    foreach (ConditionExpression condition in fexp.Conditions)
                    {
                        if (condition.AttributeName == "name")
                            condition.AttributeName = "dynamics_integrationkey";

                    }

                }
            }
        }

I also had another odd thing was the owninguser field had to be filled in and I had to put in a guid.
I had to go and look up the guid for my user
=CreateGuid(“16A37447-9242-E111-8094-00155D6A3700”)
I’m not sure why it makes me do this whilst other entities allow you to use a lookup.

CRM 2011 – Rollup 6 still causing some problems

I will admit I didn’t download the withdrawn rollup 6 but I do feel sorry for anyone who did and put it on their live system.

I was reading Jamie Miley’s blog and he had an interesting post on people still having problems with rollup 6.  The blog post is called

Update Rollup 6 Causing Some Access Denied Issues – IgnoreTokenCheck Ramifications?

I thought I would add a blog post linking to Jamie’s to share the solution with people.

if you are having access denied problems, the solutions are below

Example with workaround: http://social.microsoft.com/Forums/en/crmdevelopment/thread/57032ef6-c690-4ab2-a7e1-21f1081e5350?prof=required

It seems you can add a IgnoreTokenCheck registry to fix the issue as a workaround.

HKLM>Software>Microsoft>MSCRM>IgnoreTokenCheck (Dword)=1

 

Go and read Jamie’s blog, this one and comment on the forum posting for this problem.