admin
Changes to IFRAME Properties
In Dynamics CRM 4.0, the Label property of an IFRAME was not required: With Dynamics CRM 2011, the Label property is required: This is not a problem until you attempt to edit the properties of an IFRAME. If the Label is blank, you will receive and error and be forced to complete the [...]
Upgrade Your URL Parameter References
There are times when working in either JavaScript or .NET where you need to either display a CRM record or give the user the option of clicking a link to display a CRM record. The CRM 2011 SDK documents this process here: Open Forms, Views, Dialogs and Reports with a URL? It also includes a [...]
JavaScript Conversion: Creating a supported LookupControlItem method
In Dynamics CRM 4.0, you could use an unsupported internal function to create the value to be inserted into a Lookup control. The code would look something like this: var lookupItem = new Array(); lookupItem[0] = new LookupControlItem(“{3A6C1B06-C62F-DC11-AFC2-0019B9B20373}”, 1, “A Sales Store 3″); crmForm.all.pricelevelid.DataValue = lookupItem; This function still exists in Dynamics CRM 2011 [...]
JavaScript Conversion: Removing unnecessary code #1. Adding mailto to an email-enable text field
Occasionally I will run into JavaScript that was added to a form to provide functionality desirable by the business. I have seen several instances where code such as this: if (crmForm.all.emailaddress1 != null) { crmForm.all.emailaddress1.ondblclick = function () { var email = crmForm.all.emailaddress1.DataValue; if ((email != null) && (email.length > 0)) { window.navigate("mailto:" + [...]
JavaScript Conversion: Handling Automatic Semicolon Insertion
One of the most difficult parts of converting JavaScript from CRM 4.0 to 2011 is handling situations where the developer did not use a terminating semicolon. Actually, this is a problem with JavaScript in general, as I was reminded this week when I listened to the Drama episode of the This Developer’s Life podcast. That [...]
JavaScript Conversion Keywords
During my recent JavaScript Conversion discussions webinar I showed a list of Supported and Unsupported keywords. I’ve created a page so that you can view them without having to download the webinar support materials. If you run into something that is not on either of these lists, I would really appreciate it if you could [...]
JavaScript Conversion Discussions Webinar Recording and Materials
JavaScript Conversion Discussions Webinar (September, 2012) We’ll discussed the technical aspects of converting your JavaScript from CRM 4.0 to CRM 2011, as well as the processes that will aid in the overall upgrade process. Tools to Help Your Conversion: JavaScript Converter http://dynamicsxrmtools.codeplex.com CRM JavaScript Conversion Assistant http://www.crmaccelerators.net/products/crm-migration-assistant-2 CRM Code Validation Tool http://blogs.msdn.com/b/crm/archive/2012/06/21/microsoft-dynamics-crm-2011-custom-code-validation-tool-released.aspx [...]
CRM JavaScript Conversion Assistant 2.0 Released. New name, new features, new price
I am very proud, and a little relieved, to announce that general availability of the CRM JavaScript Conversion Assistant 2.0. Download the trial version now or visit our product page for more information. New Name The product formally known as the CRM Migration Assistant has been renamed to the CRM JavaScript Conversion Assistant to [...]
Marketing List Manager 2011 price reduction
I’ve decided to drop the price of my Marketing List Manager for Dynamics CRM 2011 to $98 ( from $249 ). For more information, visit the product page.
Upgraded JavaScript and OptionSet values
In CRM 4.0 the values returned from a Picklist were integers represented as strings. If you were referring to a Picklist value, you would refer to it like this: if (crmForm.all.new_picklist.DataValue == "2") { // do something } In CRM 2011, the OptionSet value is returned as a true integer so the following code [...]

