Tuesday 10 January 2012

Crm 4 Crm 2011 programming difference, Syntax difference

Type Mapping Between Versions CRM 2011 and CRM 4

http://osmosee.wordpress.com/2011/06/15/crm-2011-plugin-syntax-changes/

http://roman20007.wordpress.com/2010/09/13/5-syntax-changes-in-dynamics-crm-2011-plugins/

Type mapping between versions Crm 2011 and Crm 4

SDK changes I’ve noticed while porting this from CRM 4.0 to CRM 2011

• Enumeration classes like Microsoft.Crm.Sdk.MessageName, ParameterName are not available
• IPluginExecutionContext.Depth is equal to 2 when the plugin is executed in the Update message
• CrmMoney is now Money, was expecting decimal since most other CRM data types are native .net types
• To get all the columns use new ColumnSet(true) instead of new AllColumns()
Input/OutputParameters of IPluginExecutionContext is now typeof ParameterCollection instead of PropertyBag

Javascript difference:
http://community.dynamics.com/product/crm/crmtechnical/b/crminogic/archive/2011/02/19/difference-between-crm-4-0-and-crm2011-script-for-using-on-form-customization.aspx

No comments:

Post a Comment