SplendidCRM – Creating a new Module

—– Original Message —–
From: Paul Rony
To: Ziver MALHASOGLU
Sent: Saturday, October 06, 2007 4:42 PM
Subject: RE: Creating a new Module

The place to start to build a module is with the SQL code. You will need some C# and ASP.NET files, but the core of SplendidCRM is data-driven.

Here are some of the generic steps:
Create a table using one of the existing tables in SQL ScriptsBaseTables. If your module will support custom fields, also make sure to create a table that ends in _CSTM. If your module will support many-to-many relationships, then you will need to create a relationship module similar to ACCOUNTS_BUGS.
Create the _Update and _Delete procedures using the spSqlBuildProcedures stored procedure.
Create the views using one of the existing modules as a template. You should create 3 views, one is the core view, followed by _List and _Edit.
Create the script to add the module in DataMODULES defaults.1.sql.
Create the script to add the shortcuts in DataSHORTCUTS defaults.1.sql.
Create the script to add the list view data. The files are GRIDVIEWS defaults.1.sql and GRIDVIEWS_COLUMNS ListView defaults.1.sql
Create the script to add detail view data. The files are DETAILVIEWS defaults.1.sql and DETAILVIEWS_FIELDS default.1.sql.
Create the script to add edit view data. The fiels are EDITVIEWS defaults.1.sql and EDITVIEWS_FIELDS defaults.1.sql.
Create a new module folder in the web application.
Copy all the files in a similar module to the new folder. Then rename the namespace in each file to match your new module name. Products is a good module to copy as I have just created this module and it has all the core features. I also typically rename all words in the old module to match the new module name.
You will probably need to comment out the procedures to your new module until they are ready. When the procedures are ready, you can navigate to _codeProcedures.aspx to generate the SqlProcs.cs file. The goal is to automatically generate this file so that it is always perfect.

Paul Rony
SplendidCRM Software, Inc.
http://www.splendidcrm.com

From: Ziver MALHASOĞLU [mailto:zam@zam.web.tr] Sent: Saturday, October 06, 2007 5:47 AMTo: Paul RonySubject: Creating a new Module
Hello,

I want to add a new module to the SplendidCRM so what are the steps i need to follow?

I could not find a developer instruction sheet to do such a thing.

May you please help me?

Regards,
Ziver MALHASOGLU