The Sage CRM .Net Templates extension makes it easy and quick to develop .NET components for Sage CRM by providing project and item template wizards as well as snippets for common methods that are used when developing for Sage CRM.
What's New!
To see what's new in this version, view the v1.0.3 release notes here.
Getting Started
Install the extension.
Create a new Sage CRM project from one of the Project Templates located in the Sage CRM category.
Add a reference to the SageCRMNet.dll assembly (this is excluded as it is packaged with the Sage CRM SDK which is only available to developers)
Add more Sage CRM items to the project by locating them under the Sage CRM category.
Build your .NET component and deploy!
Features
The extension provides the following features:
Project Templates
Sage CRM Simple Project
A barebones Sage CRM project containing only an AppFactory class to help you get started with any possible Sage CRM .NET component.
Sage CRM Entity Project
A wizard guides you through the process of creating a Sage CRM project complete with an AppFactory class as well as all the pages needed to create, view, edit and delete instances of a custom entity in Sage CRM. The project can be built straight out of the box and deployed with little to no modification.
Item Templates
Sage CRM AppFactory Class
Creates an AppFactory class where you can expose all the different pages in your Sage CRM .NET component.
Sage CRM DataPage Page
A wizard helps you create a Sage CRM DataPage that can be used to view details of a particular entity instance. The resulting page can be used as-is without any further modification or you can modify it further to suit your needs.
Sage CRM DataPageDelete Page
A wizard helps you create a Sage CRM DataPageDelete page that can be used to delete an instance of an entity. The resulting page can be used as-is without any further modification or you can modify it further to suit your needs.
Sage CRM DataPageEdit Page
A wizard helps you create a Sage CRM DataPageEdit page that can be used to edit a particular instance of an entity. The resulting page can be used as-is without any further modification or you can modify it further to suit your needs.
Sage CRM DataPageNew Page
A wizard helps you create a Sage CRM DataPageNew page that can be used to create a new instance of a particular entity. The resulting page can be used as-is without any further modification or you can modify it further to suit your needs.
Sage CRM ListPage Page
A wizard guides you through creating a Sage CRM ListPage that can be used to list a collection of records of an entity. The resulting page can be used as-is without any further modification or you can modify it further to suit your needs.
Sage CRM SearchPage Page
A wizard takes you through creating a SearchPage for Sage CRM that lets you search for records of a particular entity. The resulting page can be used as-is without any further modification or you can modify it further to suit your needs.
Sage CRM Web Page
A template that creates a blank Web page for Sage CRM that you can modify to suit your needs.
Snippets
The following snippets are also packaged with the extension:
Snippet Name
Shortcut
Description
AppFactory Method
scafm
Code snippet for creating a method in the AppFactory class to expose a WebObject to Sage CRM.
BuildContents Method
scbcm
Code snippet for creating a BuildContents method that override the BuildContents method.
Chart Graphic
sccg
Code snippet for creating a chart that can be inserted into a Sage CRM page.
Confirm Button
sccb
Code snippet for creating a Confirm Button that can be used to confirm an action with the user.
Entry Group
sceg
Code snippet for creating an Entry Group that can be rendered on a Sage CRM page.
Find Record
scfr
Code snippet for searching for a particular instance of an entity. This done by providing a Entity Name and Where Clause.
Get Context Info
scgci
Code snippet for getting a particular field of a particular entity that is currrently in context.
Graphic Block
scgb
Code snippet adding a GraphicBlock to a page in Sage CRM.
Help Button
schb
Code snippet for creating a Help Button that will provide the user with help when clicked.
Horizontal Panel
schp
Code snippet for creating a Horizontal Panel element to render on a Sage CRM page.
HTML Grid
schg
Code snippet for creating an HTML Grid in Sage CRM.
List
scl
Code snippet that adds a list to a page in Sage CRM.
New Record
scnr
Code snippet creating a new Record object for an Entity.
Query Select
scqs
Code snippet for getting a QuerySelect object in a Sage CRM page.
Submit Button
scsb
Code snippet for creating a Submit Button that can be used to submit an HTML Form in Sage CRM.
URL Button
scub
Code snippet for creating a URL Button that can link to any other page in Sage CRM.
Vertical Panel
scvp
Code snippet creating a Vertical Panel that can be rendering in a Sage CRM page.
Disclaimer
Sage and Sage CRM, along with their respective logos, are trademarks of Sage and are property of their owners. This project is in no way affiliated with or endorsed by Sage. This is purely my own project designed to make developing for Sage CRM easier.