Blog

JavaScript Upgrade Strategy #3: Use Visual Studio (with add-ins)

One of the best practices a Dynamics CRM developer can follow is to use Visual Studio to edit your JavaScript.  Combine the basic functionality with an add-in like Resharper, and you have a very productive development environment.  Here’s why: Intellisense Visual Studio provides both intellisense and the […]

Read more

Upgraded Dynamics CRM 4.0 Anomaly

One of my SnapShot! customers ran into what could be one of the strangest anomaly’s this week that I thought I would document here, so that other people (including myself) can find it. They were running SnapShot! against a Dynamics CRM 2011 organization as they were prototyping […]

Read more

SnapShot! 3.4 for Dynamics CRM released

Version 3.4 of SnapShot! for Dynamics CRM is now available. This release corrects two issues that were found when running reports against a Dynamics CRM 2011 organization that was upgraded from Dynamics CRM 4.0.  Basically, the data structures were slightly different than a Dynamics CRM 2011 installation […]

Read more

JavaScript Upgrade Strategy #2: Upgrade your object model

After you get your development up and running, one of the first things you need to do is to convert your JavaScript code-base from the Dynamics CRM 4.0 object model to the CRM 2011 object model.  Let us review that process:   Tools If you are not […]

Read more

JavaScript Upgrade Strategy #1: Create a test environment

Upgrading your Dynamics CRM organization from version 4.0 to anything newer can be a lot of work. The amount of work will depend on how much custom code (JavaScript and Plugins) that you have installed. This is where having a test environment pays for the time and […]

Read more

Transformer! 2.8 Released

Hi Everyone, I have an update to Transformer!, my JavaScript conversion utility for Dynamics CRM.   You may download the trial version here: http://www.crmaccelerators.net/products/transformer/crm-migration-assistant-demo-request/   Updated documentation may be found here: http://www.crmaccelerators.net/downloads/TransformerDocumentation   A full sample conversion may be downloaded here: http://www.crmaccelerators.net/downloads/sampleconversion   And just the conversion […]

Read more

JavaScript Upgrade Gotcha #4: The .title property

The .title property in JavaScript is used by Dynamics CRM 4.0 to display a tool tip when you hover a mouse over the field. Here is an example:   crmForm.all.new_name_c.title = "Please validate their legal name.";   Unfortunately, there is no equivalent within Dynamics CRM 2011 so […]

Read more

JavaScript Upgrade Gotcha #3: The .style property

There are certain cases where it is necessary to customize the CRM user interface to perform a specific action or to inform the user of a specific condition or alert, or whatever. This was mainly accomplished by changing the .style property of a field. Such actions were […]

Read more

JavaScript Upgrade Gotcha #2: Using the JavaScript eval method

The use of the JavaScript method eval is considered to be bad coding practice by most of the JavaScript Technorati. That doesn’t stop people from using it, and it makes automatic conversion verify difficult. Consider this code:   this.FieldName1 = "name"; eval(‘this.Field1 = crmForm.all.’ + this.FieldName1);   […]

Read more

JavaScript Upgrade Gotcha #1: The .id property

Consider this code segment: var oField = executionObj.getEventSource(); if (oField.id == “new_field1” || oField.id == “new_field2”) { // do something } This uses the JavaScript .id property to retrieve the field name. Since this type of code can represent both form controls as well as data items […]

Read more
Page 4 of 11« First...23456...10...Last »