torsdag den 26. maj 2011

CRM 2011 Code structure

Finally it is now possible to get a better structure for your code. And the best part is that it's actually REQUIRED that your code is structured in functions.

When it comes to Scripting i can recommend creating at least one file per entity. If you are even more structure-freak as I am, then go even further and create a working folder on your PC and sourcecode system per entity, and have one “main” file.

E.g. for an Account entity I have a folder called Accountcode. In this folder I have a main file called Accountfunctions.js which is my main function library that I call from the Account form. Just like a traditional interface description file (including some code - though - for convenience).



2 kommentarer:

  1. Microsoft Dynamics CRM online training will help you manage and prioritize your business goals, customize.we teach MS Dynamics CRM online training and class available at Hyderabad.
    Microsoft Dynamics CRM online training | Microsoft Dynamics CRM training in Hyderabad

    SvarSlet