24.08.2013, 04:19 | #1 |
Участник
|
Microsoft Dynamics CRM Team Blog: Check your JavaScript code to prepare for your upgrade
Источник: http://blogs.msdn.com/b/crm/archive/...r-upgrade.aspx
============== Microsoft Dynamics CRM is changing. To keep up with these changes so that you can take advantage of new features you need to check that any JavaScript code you are using is ready for an upgrade.
Why do I need to check my JavaScript? The JavaScript code in your deployment was written and tested to work based on conditions at the time. Things have changed and you need to make sure you are ready. What has changed? Several things have changed or will change soon. For people using Microsoft Dynamics CRM 2011 on-premises who still haven’t applied the December 2012 Service Update:
The support team did some research on common issues that could break and prepared a Microsoft Dynamics CRM 2013 Custom Code Validation Tool. Download this tool and extract the contents. Within the contents you will find instructions about how to install and use the tool. If you have downloaded this tool and used it before, you will see that it now includes additional logic to check for changes related to upgrading to Microsoft Dynamics CRM 2013. The tool is a managed solution that you install and it will examine your web resources and show you where there might be some problem areas. Note: Not every issue that is returned by this tool represents a problem. This tool looks for certain characters in the code and highlights those that look like they may be a problem. But there are many times where it is perfectly fine to use certain code in one situation if you have applied the appropriate code for a different situation. Some examples:
This tool can’t find every possible problem. You still need to do testing as part of your upgrade process to ensure that everything works. Use this tool to get a sense of what kind of issues exist and identify which web resources need the most attention. How can I fix my code? If the code is part of a solution created by someone else which you installed, for example maybe you downloaded it from the marketplace, then you should contact the people who created the solution. They may have already created an updated version that can work with the newer versions of Microsoft CRM. If your code was applied by a partner who helped you with your implementation, reach out to them and discuss the results you get when you run using the Custom Code Validation tool. If the code is part of a customization that your organization created, you really need to understand what your code is doing before you can determine if it needs to be fixed and how to fix it. You should review the documentation created as part of your development process. A JavaScript developer who understands how to program using the Microsoft Dynamics CRM APIs together with a business analyst who understands the business requirements should be able to use the custom code validation tool and generate a list of web resources that need to be changed. To summarize the types of changes that need to be made: Issue TypeMethod to address it Using CRM 4.0 (2007) endpoints
If there isn't a supported way to achieve your requirement you will need to consider dropping functionality it provides or finding another way to achieve it. Here are some links that can provide tips that may be useful when fixing your code:
Do I need to fix everything? It really depends on what version you plan to upgrade to.
Источник: http://blogs.msdn.com/b/crm/archive/...r-upgrade.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|