Dynamics CRM 2011 performance improvements: CSS sprites

2 comments

Posted on 29th September 2010 by Jukka Niiranen in performance

, , ,

Today’s business applications are mostly delivered through a web client that lives inside your browser. While Dynamics CRM has a “fat client” in the form of the Outlook components that can serve the CRM functionality even in an offline environment, Dynamics CRM itself is inherently a web application. The benefits of browser based application delivery are quite plain and obvious, but one must remember that there are still downsides to this approach. Everything relies on the client PC having a fast and reliable connection to the web server, which is not always the case. This particularly affects the mobile workforce or global companies with multiple offices spread around the world. Downloading the UI components involved in rendering a page of the web client will often mean loading tens of different image, script and other files, which requires good bandwidth and low latency to provide a smooth user experience.

The user interface of Microsoft Dynamics CRM 2011 is much more graphical than in the previous versions, thanks to the new ribbon menu. While this does in my opinion make navigation inside CRM much more user friendly than the old text based menu hierarchies, it does make you wonder if all this comes with a price you have to pay in terms of slower page load times. Well, the good news is that Microsoft has also paid attention to the performance aspect and is now utilizing CSS sprites to render the default icons of the CRM UI.

The image above is not a strange collage made by me, rather it is a single file called ribbon.png that is loaded when you access the Dynamics CRM through a web client. The image is a whopping 580 kb, but the good news is that you only need to load it once and then it will be cached by your browser. More importantly, each and every icon is rendered from this single image file, by displaying different parts of the image where a specific icon is needed in the UI.

This same technique was already used in SharePoint 2010 and I’m glad to see it make its way also to Microsoft Dynamics CRM 2011. It will significantly reduce the amount of HTTP requests needed when loading a CRM page. Of course, the technique is only applicable to the default icon site. I’m not aware of any tricks for displaying a set of custom icons through this way, so adding a huge number of new ribbon options for your XRM application may come with a cost on the page loading performance.

Update Rollup 27 has been… Seriously, guys!

3 comments

Posted on 24th September 2010 by Jukka Niiranen in Annoyances |News and events

, ,

Got a Dynamics CRM blog? Like to tweet about all things Microsoft Dynamics? You’re in luck, because Microsoft is providing you a steady supply of topics in the form of CRM Update Rollups (or UR’s if you prefer acronyms). Right now Microsoft Dynamics CRM 4.0 is on level 13 and will certainly continue to receive plenty more until the end of its support lifecycle. In January 2009 Microsoft stated that they aim to release a new update rollup every 8 weeks. If you multiply 13 x 8, that gives you 104 (two years), which means the actual release schedule is even tighter.

When a UR comes out, you’ll be certainly well informed about it through the Dynamics CRM community, as this tends to generate a massive number of blog posts, tweets and retweets in celebration of the event. Having new hotfixes is of course important for anyone working with CRM, but has the whole UR phenomena gotten a little bit out of hand by now? The recent tweet by Jerry Weinstock from CRM Innovation highlights the issue perfectly:

Let’s make one thing clear: there is no newsworthy content in just posting that “Update Rollup X has been released”. Nada. It’s like stating that a new copy of Wired is now available at the news stands.

I’ve seen a countless number of practically abandoned Dynamics CRM blogs where the author no longer has the time or energy to produce original content. Yet they see it as their duty to keep posting UR notifications one after another. Wow, writing a blog has never been so easy! Ok, so you guys may have way more posts than I do, but do you really think you’re contributing to the CRM community in a meaningful way?

I’m not saying that UR’s cannot be meaningful topics for a post, but you absolutely must provide some editorial content of your own, in addition to the KB article cut&paste. Tell about your experiences with the update, what was the reason why a particular hotfix was significant for you, what possible problems the UR installation may cause etc. Say something that not every one of us CRM geeks out there wouldn’t already know through their RSS feeds and Twitter lists.

The amount of great information you can acquire just by following a Twitter hashtag like #MSDYNCRM is truly incredible and I don’t want to play down the value of an active Dynamics CRM community in any way. Quite the contrary, that’s the one thing we should all celebrate. All I’m asking is that the next time you see the news about a new UR, think for a moment how likely it is that all your followers and readers have already received the news through their own channels. And if you RT, at least put a funny twist on it!

As for the UR release process in general, I propose that Microsoft registers the @UpdateRollup account on Twitter and we can all just start following it. Or better yet, replace the old Announcements section inside Dynamics CRM with a dashboard of all the official MS Dynamics CRM tweets in one convenient place. Of course in CRM 2011 we’ll already be able to configure those dashboards ourselves.

Outlook 2007 with Dynamics CRM 2011: will it blend?

10 comments

Posted on 16th September 2010 by Jukka Niiranen in Features

, , ,

Perhaps the most visible improvement in Microsoft Dynamics CRM 2011 for the end user is the completely revamped Outlook client. Instead of merely wrapping the CRM web client UI inside the Outlook frame with stripped navigation and giving you the all important tracking buttons, the new Outlook client promises additional usability features over the web client. In the demos we’ve seen, things certainly do look pretty with Outlook 2010, but one question remains: will it blend with the previous versions of Outlook?

Here’s a reminder of what Dynamics CRM 2011 Outlook client delivers with Outlook 2010:

Many organizations have only recently gone through the trouble of upgrading to the “ribbonized” Office 2007 and training their staff to locate the familiar commands from the new ribbon icons and sections (or alternatively just shown how you can re-enable the old style menus in 2007). After all this effort, they may not feel like moving on to Office 2010 would really be the next priority item on the software upgrade list. Therefore it will be quite a probable path for companies to first upgrade to CRM 2011 before thinking about their Outlook clients. After all, CRM 2011 has backward compatibility all the way up till Outlook 2003, so why bother? Well, that’s exactly what I was curious to find out after receiving an invitation to CRM 2011 Online beta. I couldn’t risk my primary Outlook at work, so I decided to try this with my home laptop running 32-bit Office 2007 Enterprise on top of Windows 7 x64.

(Personal confession time: yesterday I was faced with a PC that had Office 2003 installed. Upon trying to start making a few PowerPoint slides to create some very basic graphics, I was completely lost and decide to give up altogether after staring at the screen for half a minute feeling helpless, as I couldn’t figure out which menus to click. So there, that’s how quickly we can all unlearn the skills we used to once possess.)

Getting started

Microsoft Dynamics CRM Online will prompt the new users accessing the server through Internet Explorer with a friendly reminder that there is also an Outlook client available. I clicked on the link and received a nice little 5.5 MB installer, so off we go.

Firing up Outlook after the installer gives a prompt to enter the CRM Online URL. Windows Live ID is verified and after that you’re connected to your CRM organization. Or should I say one of them, as the new Outlook client now supports having multiple organizations accessible through the same client UI. A very nice addition for all the XRM scenarios, but of course it comes with one major caveat: activities can only be synchronized with a single organization. So, you can only truly leverage the traditional Outlook capabilities with a single CRM organization. Maybe one day we’ll have the choice of a global “regarding” field from any server. (more…)

Dynamics CRM 2011 in all its (beta) glory

3 comments

Posted on 11th September 2010 by Jukka Niiranen in Features |News and events

, ,

The truth is now out there, as Microsoft Dynamics CRM 2011 beta was released for the public on Thursday, September 9th. As a result, the NDA for the Early Adopter Program is no longer stopping me from sharing some of my thoughts and experiences on the latest and greatest version of CRM. Instead of trying to cover each and every new feature in a bullet list, I’ll focus on the topics which have caught my attention the most.

The Ribbon

Some love it, some hate it, but here it is anyway! In an application like CRM where the actions one can perform on a record tend to keep on growing over time as more and more customizations and integrations are applied to the system, the context sensitive ribbon with it’s graphical icons is much more important than in traditional Office apps. While not everyone is happy that CRM 2011 has lost form its tabs after the entity form was changed into one long page with sections, the tabs have infact found a new home on the ribbon. With this UI shift in mind, it’s easy to see why having two alternative levels of tabs was not really an option from usability perspective. In this new fluid ‘n flat world of CRM 2011 the custom tabs on the ribbon will offer a great customization point to insert shortcuts and custom actions that will help the user navigate inside the application.

There are already many nice shortcuts included in the default UI to reduce the number of clicks, which has previously been a common complaint from Dynamics CRM users. One convenient new feature is the Recently Visited button on the CRM main window, which shows a list of previously opened items and lets you pin down the favourite links that are most frequently accessed.

The ease of customization

Usability is a big factor not just for the system end users but also administrators, developers and any type of consultant that needs to spend a significant share of his working day interacting with the application. Back in the previous versions of CRM the number of clicking you were required to do in modifying customizations and various system settings was infuriating at times. I’m very glad to see that the UI enhancements in CRM 2011 have also been extended to the “engine room”. (more…)

Switch to our mobile site