The building of a new module for SugarCRM is a cumbersome and error prone process.
To reduce the work and inspired by Tinky message about Custom Objects (http://www.sugarcrm.com/forums/showthread.php?t=10650)
I'm working on a module to build other modules.
(so... Module Builder project on SugarForge
http://www.sugarforge.org/projects/modulebuilder/).
The goal is to provide customizable templates, installable as usual, and able to be used by Sugar Studio for the formatting tasks before the building function.
This version 1.0 is able to create a simple module fully downloadable and installable.
Implemented features:
- Basic module definition (name, object, table, etc)
- Grouping of data in Edit/Detail views
Not yet implemented:
- Linked and Complex module templates
The basic steps to build a new module are depicted below:
First download and install the Module Builder
and the Simple Template MODULE BUILDER: Use the Module Builder to define the new Module (and SAVE please)
1. After save define how many groups (sections on Edit/Edit views)
1.1 Click Add Group Now (You can check the result creating a Simple Module object)
STUDIO: Use SugarCRM Studio to customize Simple Module views
2.1 Dropdown Editor - create new required dropdowns
3.2 Edit Custom Fields - create all new required fields
3.3 Field Layout - customize the Simple Module views Layout
MODULE BUILDER: Edit the new module definition
4. Import the created dropdowns
5. Build the new module
5.1 Download the installable zip file
5.2 Delete the temporary files created
MODULE LOADER: Use module loader to install and est your new module
6.1 Upload your new module
6.2 Install your new module
6.3 Test your work
Known defects
1. You need to save frequently and goback to edit, before clicking on any button inside the Module Builder EditView (ok it is cumbersome too
)
2. The resulting module does not show saved dropdown field values
3. The layout for groups is not recognized by Studio to add new rows
4. ... you name it... (and please let me know about)
Regards,
Olavo
Bookmarks