From LinkedIn : CRM 4.0 to CRM 2011: Experiences (Troubles) with Code Migration

Source

Is anyone else experiencing problems with having to RE-write major parts of their Jscript code in CRM 2011? While nice, the JavaScript Converter comes very short in converting all the code that I and previous developers have written. I know this is most likely due to a lot of the code being unsupported, but this is turning into a major project upgrading clients that have pages and pages of OnLoad code.Does anyone have any ideas how to mitigate this? Or are you having to rewrite lines and lines of code? Anything you could share: best practices, examples or resources would help me (and everyone else) out greatly.

For example, I am finding myself having to spend lengthy amounts of time trying to find how to just hide a field and its labels depending on the value of another field.

2 comments

Neil B. • Hi Michael, it sounds as though you (like most of us) have used a lot of unsupported JavaScript methods for user interface manipulation. You might have already read this page in the SDK, but it contains a useful section on new supported methods to replace previously unsupported methods to achieve these kinds of requirements.
http://msdn.microsoft.com/en-us/library/gg509046

Michael K. • Very good suggestion. There is also a better Javasciprt Converter out there at this site: http://blogs.infinite-x.net/2011/03/06/crm-migration-manager-update-available/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: