简体   繁体   中英

CRM 4.0 plugins to CRM 2013 plugins

write plugins in crm 4.0 to CRM 2013. I read in MSDN that 4.0 plugins dont work in 2013 CRM. Please give me some suggestions on how to approach this. What will be the major changes I will need to make. Will I need to change the Logic?

I believe that you would not need to change logic inside of plugins but you will have to change syntax. Check following article - http://crmbusiness.wordpress.com/2011/02/13/crm-2011-syntax-changes-in-plugins-from-crm-4/

You need to change your code as per CRM 2013 sdk. you need to rewrite custom script, plugin and workflow.

You will need to alter any code that is deprecated and also recompile the code against the DLLs contained in the 2013 SDK in order to get your code to run.

To accomplish this I would suggest going through this process in a development environment using CRM 2013 and verify that all the functionality is working. Once you have verified that your functionality is there you can use the plug-ins you created in development for your production system (assuming nothing is hard coded to be environment specific).

The logic of your plugins remain, but all syntaxis is different. The use of the webservice is different, dynamicentity object doesn't exist anymore. stuff like that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM