Setting field requirement level with Jscript

Recently I had a customer who needed to set the requirement level based on a certain field combination.

The web is full of examples of how to do this. The way i prefere is the way Ronald does it.

// Set field to not required
crmForm.SetFieldReqLevel("fieldname", 0);

// Set field to business required
crmForm.SetFieldReqLevel("fieldname", 1);

// Set field to business recommended
crmForm.SetFieldReqLevel("fieldname", 2);

For some reason he also specified a alternative way of doing it. I'm not sure why this should be smarter. Enlighten me if you like :-)

// set the field required (i.e. show error message when field is not filled in)
crmForm.all.fieldname.req = 2;

// modify the label to be red
crmForm.all.fieldname_c.className = 'req';

Credits of course goes to Ronald :-)

http://ronaldlemmen.blogspot.com/2007/07/change-requirement-level-at-runtime.html 

Signing out
Peter Toftager-Larsen



Posted by: ptl
Posted on:11/3/2010 at 9:59 PM
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed
Categories: Application | Development | Outlook


CRM 4.0 Error synchronizing records in Outlook. A SQL error occurred - FIX

Hi all

Recently when upgrading a customer to CRM 4.0 we encountered a problem when syncronizing CRM with Outlook (manually), we got an error synchronizing records:

A SQL server error occurred. Try this action again. if the problem continues, check the microsoft dynamics CRM community for solution or contact your...

After digging in this for a while we found a fix for this, that worked perfectly for us.

We upgraded the system on a virtual pc, and then imported the database in a CRM 4.0 RU8 installation. The problem is when installing RU8 the database is updated, but since we imported the database into the RU8 environment these updates were not applied to the database.

The solution was to uninstall rollup 7 & 8 on the server side, restart the server, then install rollup 9, this recreates some tables which are used during the synchronization.

After doing this the synchronization errors stopped, hope this can help you.

best regards

Hassan Iqbal



Posted by: hiq
Posted on:2/12/2010 at 12:08 PM
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed
Categories: Dynamics CRM | Hotfix | Installation | rollup | Outlook


CRM 3.0 and 4.0 Build numbers - Updated Jun 2010

I keep going back to google to get the build numbers of the different versions of CRM, so I figured I better assemble this info a place where I can always find it.

So here is the info i have assembled.

CRM 4.0 Build numbers 

Build Number Released Details
4.0.7333.3018 23/09/2010 Rollup Update #13
4.0.7333.2935 02/08/2010 Rollup Update #12
4.0.7333.2861 03/06/2010 Rollup Update #11
4.0.7333.2741 08/04/2010 Rollup Update #10
4.0.7333.2644 02/11/2010 Rollup Update #9
4.0.7333.2542 12/17/2009 Rollup Update #8
4.0.7333.2138 10/22/2009 Rollup Update #7
4.0.7333.1750 09/27/2009 Rollup Update #6
4.0.7333.1644 Juli 2009 Rollup Update #5
4.0.7333.1551 May 2009 Rollup Update #4
4.0.7333.1316 2/8/2009 Rollup Update #3
4.0.7333.1316 2/8/2009 Rollup Update #2 (Re-Release)
4.0.7333.1312 1/15/2009 Rollup Update #2 (Original Release)
4.0.7333.1113 11/24/2008 Rollup Update #1
4.0.7333.3 12/19/2007 RTM
4.0.7333.2 December 2007 RC2 (Internal)
4.0.7309.0 November 2007 RC0 (Limited Release)
4.0.7219.10 August 2007 Beta - CTP3
4.0.7044.22 May 2007 Beta - CTP2
4.0.6319.16 October 2006 Beta - CTP1

CRM 3.0 Build numbers

Build Number Released Details
3.0.5300.0 October 2005 This is the RTM release
3.0.5300.1185 -
3.0.5300.1189
July 2006 Rollup Update #1 Fork
This actually started in July of 2006 and was released in November 2006
3.0.5300.1200 Summer 2006 (?) Appears to be a fork used for hot fixes that were not going to make it into Rollup Update #1
3.0.5300.1255 August 2006 Spotted in a hot fix
3.0.5300.1283 September 2006 Spotted in a hot fix
3.0.5300.1344 November 2006 Web Application Performance Hot Fix
3.0.5300.1361 December 2006 Outlook Client Compatibility Re-Release (v3c) Final
3.0.5300.1500 December 2006 (?) Seems to be the current hot fix tree for all fixes post the v3c release.
3.0.5300.1525 January 2007 Spotted in recent hot fixes
3.0.5300.1528 February 2007 Spotted in recent hot fixes
3.0.5300.1558
3.0.5300.1561
June 2007 Rollup Update #2
3.0.5300.1754 November 2008 Rollup Update #3 (Re-Release)
3.0.5300.1873 February 2009 Spotted in recent hot fixes

Thanks to the guys at ascentium blog
http://consulting.ascentium.com/blog/crm/Post487.aspx
http://consulting.ascentium.com/blog/crm/Post545.aspx

And to Ronald Lemmen for the info.
http://ronaldlemmen.blogspot.com/2009/01/crm-40-build-versions.html

If I'm missing one, drop me a comment or a mail and I'll add it. 

How to find SQL server build number
http://support.microsoft.com/default.aspx/kb/321185

Signing out
Peter Toftager-Larsen



Posted by: ptl
Posted on:8/11/2009 at 11:01 AM
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed
Categories: Application | Dynamics CRM | Hotfix | Installation


Windows 7 Released on MSDN

Yeah, windows 7 RTM has just been released on the MSDN network, so i'm downloading at full speed.

Have been using CRM on the RC version since it was released and it has been running great. Can't wait to install the RTM version.

While i'm reinstalling it i'm going to try booting it as VHD files on my datadisk. Keith Combs has a great video on that here.

http://edge.technet.com/Media/Dual-Boot-from-VHD-with-Windows-7-and-Windows-Sever-2008-R2/

Lastly i'm droping in a new corsair p256 SSD disk in my laptop. Should be the ultimate setup :-)

Check ya later
Peter Toftager-Larsen



Posted by: ptl
Posted on:8/6/2009 at 7:28 PM
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed
Categories: Installation | Personal | Window 7