Monday, September 9, 2013

Why should not use eval in Javascript

- Open up code for injection attack
- Hard to deubg

Code example:
document.write("<br>" + eval("2+2"));
document.write("<br>" + eval(x+17));

How to create a Plugin to Microsoft CRM?

1. Download and install CRM SDK
2. Open Visual Studio and create new CRM plugin project
3. Set up Signing property for this project
4. Run pluginregistration Utility in the folder of "\sdk\bin"
5. In CRM, goto Setting->Customization->Plugin, will see the new plugin