The Microsoft Dynamics CRM Blog
News and views from the Microsoft Dynamics CRM Team

IE 8 Released with Nice Debugging Tools and CRM 4 Support

IE 8 Released with Nice Debugging Tools and CRM 4 Support

  • Comments 6

Guest blogger and CRM MVP Ross Lotharius regales us with his first look observations about IE 8. Ross Lotharius is an Associate Partner and Director of Software Development for the CRM Practice of Ascentium.

Yesterday at MIX 09, Microsoft announced the release of Internet Explorer 8.  Internet Explorer 8 (IE8) brings a lot of new features to the browser and for us developer types.  These features include a View Source that has color coding (instead of “notepad”) and Developer Tools that are built in instead of the need to download extensions and 3rd party tools.

The Microsoft product team also released the following statement regarding support for CRM 4.

We’re thrilled to have IE8 in market and released. During the past 12 months we have worked closely with the IE team and Dynamics CRM has been one of the key “test products” for the IE team when working through their validation and tests. During the process we naturally identified issues and resolution to those were vigorously pursued and implemented. At this point we only have 1 known issue and we’re happy to be able to state that IE8 is an officially supporter browser for Dynamics CRM 4.0. We expect the Implementation Guide to be updated in April 2009 to reflect this supported status for IE8.”

With these new tools, working with CRM has become much easier and much more friendly.  Below are a few examples of the new features using CRM 4.  I’ll touch on the new View Source and focus on the Developer Tools relating to styling, formatting, and layout.  The screens below were taken in the Windows 7 (build 7000) build of IE8, so they may appear different in the release version.

View Source

For those that use Firefox or Safari, this is nothing new, but better late than never.  Regularly, we have to view source of files to find certain things we are looking for.  This mainly applies to clients that haven’t installed 3rd party options such as Notepad++ or Programmer’s Notepad.  With Notepad, this was an arduous task, but with the new View Source it’s much easier!  Below is a screenshot of edit.aspx.

clip_image002

Developer Tools

To make our lives even easier, Microsoft has also included a much improved developer tools.  These tools are available to any CRM form by clicking F12.  Here is what the Developer Tools look like when opening it from the same edit.aspx:

clip_image004

Expanding the left elements display the details of the CRM form in an easy to read format.  On the right, displays the styles applied to those elements, Trace Styles, Layout, and the Attributes on the selected Element.  Selecting an element also displays a border on the actual page for where the element is on the form.  This is similar to the IE developer tools of the past.  In the screenshot below, the div with an id of areaForm is selected to the left which highlights the main form area (tabs and fields for the contact) on the page to the right.

clip_image006

After selecting the element/area that you want, you can then manipulate that area directly in the Developer Tools.  In this example, I’ll use the 2nd tab, which is the Details tab.  By default, it’s labeled Details and has the styles to the right applied to it.  I’ll change that tab to say Ross and make the font bold and yellow.

clip_image008

To do this, select the element and then choose Attributes on the right.  Here you can add a new attribute and assign a value to it.  For this demo, I’ll add a style attribute and give it the value of “color: yellow; font-weight: bold”.

clip_image010

Here is the Html before the change:

<A onclick="return false;" href="javascript:onclick();" target=_self>General</A>

clip_image012

Here is the Html after the change:

<A style="COLOR: yellow; FONT-WEIGHT: bold" onclick="return false;" href="javascript:onclick();" target=_self>Ross</A>

clip_image014

To view the details of the CSS files that are being applied to the form we are looking at, the Developer Tools provides the CSS tab.  This tab enables you to view all the CSS files associated with the selected form in a dropdown menu and view the details of each file without the need to jump on the server or navigate to the CSS file directly.  A great feature for convenience.

clip_image016

Using these feature makes it much easier to modify CRM forms and also find the styles you are looking for.  Finding these styles eliminates the guess work when developing custom pages that you want to mimic in CRM and give a “seamless” interface. 

IE8 brings greatly enhanced performance and a myriad of new features.  The Developer Tools piece I touched on today is only a small fraction of the tools available.  Additional features include, debugging script, profiling, etc that I will not touch on today but highly recommend checking out yourself.  IE8 is a very powerful browser that I highly recommend downloading and using for your day to day CRM and for your CRM development needs.

Cheers,

Ross Lotharius

Technorati Tags: ,,,,
  • Thank you for sharing this. The links to images are wrong - pointing to local hard drive.

  • Recently I wrote a blog series for the Microsoft Dynamics CRM Team Blog .&#160; The blog series covers

  • Recently I wrote a blog series for the Microsoft Dynamics CRM Team Blog .&#160; The blog series covers

  • hi

    I tried f12 but it does nothing

  • Hi, As the first comment pointed link issue and as this links have not been modified, I assume I won't have any answer but never know ;)

    Is IE8 officially compatible with CRM 3?

    Thanks.

  • I would suggest that you ask this in the CRM Forums at http://social.microsoft.com/Forums/en-US/category/dynamics/. We have a lot of good people in the forums invested in answering questions like yours.

    Regarding your IE question, CRM 3 is what, 4 years old? IE 8 is new. It is very hard to make apps forwardly compatable. But I don't see why it wouldn't still work. IE 8 has a compatibility mode that works pretty well. But no, we are not testing CRM 3 on new platforms at this time.

Page 1 of 1 (6 items)
Leave a Comment
  • Please add 3 and 3 and type the answer here:
  • Post