If you work with Visual Studio then a library of snippets has been added to the General Development Resources folder that is available to all partners within the community. This is a resource that will prove very useful for you when customising the Sales, Marketing and Customer Service modules of Sage CRM.
This download contains 243 snippet files for use within Visual Studio.
These code snippets will also be installed, along with the example projects and templates, as part of the SDK for Sage CRM .
Theses snippets are compatible with all currently supported versions of Sage CRM.
To manually install the snippet files copy the Zip file to your Visual Studio Code Snippets folder e.g.
C:\Documents and Settings\[username]\My Documents\Visual Studio 2015\Code Snippets\
Then extract the files. Make sure the destination path used is Code Snippets.
When the snippets are extracted then the files are copied into the standard location for custom snippets. If you have existing snippets within 'My Code Snippets' then these will not be effected. If you have existing Sage CRM code snippets then you will be asked whether you wish to overwrite the files.
The Zip file contains 243 files within 3 main subfolders.
Code Snippets\JavaScript\My Code Snippets
- JavaScript
- Visual C#
- Visual Web Developer
JavaScript
Underneath JavaScript folder the files will be copied into the path
C:\Users\[username]\Documents\Visual Studio 2015\Code Snippets\JavaScript\My Code Snippets\SageCRM
Where there will be 4 folders created.
- ASP - 77 snippets
- Client Side - 42 snippets
- Mail Manager - 6 snippets
- SelfService - 6 snippets
Visual C# Snippets
Underneath Visual C# folder the files will be copied into the path
C:\Users\[username]\Documents\Visual Studio 2015\Code Snippets\Visual C#\My Code Snippets
Where there will be 4 folders created.
- Sage CRM DOTNET Snippets - 54 snippets
- Sage CRM Web Service Snippets - 24 snippets
Visual Web Developer
Underneath Visual Web Developer folder the files will be copied into the path
C:\Users\[username]\Documents\Visual Studio 2015\Code Snippets\Visual Web Developer\My HTML Snippets\SageCRM
Once the snippets have been unzipped they will be available in Visual Studio and accessible like any code snippet.