Table of Contents

Code snippets

The .NET SDK installs code snippets to %userprofile%\Documents\{Visual Studio version}\Code Snippets.

This folder contains the following subfolders:

  • JavaScript. Contains the JavaScript code snippets that cover the full range of screen and list creation within extensions for Sage CRM built using classic ASP pages.

  • Visual C#\My Code Snippets\Sage CRM DOTNET. Contains snippets that illustrate how to use the generalized web class and the specialist classes available through the .NET API. You can use these snippets to define screens, lists, and buttons, save and retrieve data, and establish context.

  • Visual C#\My Code Snippets\Sage CRM Web Service. Contains snippets that illustrate how to use the SOAP-based Web Services API. You can use these snippets to initiate and terminate sessions and perform create, read, update, and delete operations. For more information about the Web Services API, see the Developer Help published on the Sage CRM Help Center.

  • Visual Web Developer\Sage CRM\ASP. Contains snippets that illustrate how to create ASP pages by using the Sage CRM COM API.

  • Visual Web Developer\Sage CRM\Client Side. Contains snippets that illustrate how to use the Client-Side API.

  • Visual Web Developer\Sage CRM\Mail Manager. Contains snippets that illustrate how to work with the Email Manager.