The Developer tools sub-panel displays options to build new modules and customize existing ones. The Module Builder enables you to build custom modules and Studio enables you to customize existing modules.
Basic. This template provides basic fields such as ID, Date Entered, and Created By. Use this template to create a module from scratch.
Company. This template provides organization-specific fields such as Company Name, Industry, and Billing Address. Use this template to create a module that is similar to the Accounts module.
Person. This template provides individual-specific fields such as salutation, title, name, address, and phone number. Use this template to create a module that is similar to the Contacts module or the Leads module.
Issue. This template provides case and bug-specific fields such as ID, Description, and Created By. Use this template to create a module that is similar to the Cases module or Bug Tracker module.
|
•
|
Publish. This option is designed for distribution to specific users or customers. The system creates a zip file, which you can save on your local machine. You can then email it to one or more individuals who can use the Module Loader to upload the zip file into their Sugar instance.
|
|
•
|
Deploy. This option is designed to install the custom module on your Sugar instance and make it available to all users in your organization. Through Studio, you can add or remove fields and make other changes to a deployed module.
|
|
•
|
Export. This option is designed for distribution to developers. The system creates a zip file, which you can save on your local machine and email to other developers. Using the Module Loader, developers can install it on their Sugar instance and customize it further if necessary. The package is visible only in Module Builder and, hence, only developers can access it.
|
A Sugar module has multiple relationships with other Sugar modules. Therefore, when you create a custom module, you must define its relationship with other Sugar modules. For more information, see
“Creating Relationships” on page 69.
|
1.
|
In the Developer Tools sub-panel, click Module Builder to view the Module Builder page.
|
The Package page displays on the screen.
Author. Enter your name as the creator of the package.
Key. Enter an alphanumeric key to distinguish modules with similar names. The system will prefix all class names, directories and tables names with this key.
|
5.
|
Click Save to create the package.
|
|
6.
|
Click Duplicate to create a copy of the package.
|
|
7.
|
Click Publish to save the package as a zip file.
|
|
8.
|
Click Deploy to deploy the package on your Sugar instance.
|
|
9.
|
Click Export to save the package as a zip file.
|
|
10.
|
Click Delete to delete the package.
|
|
1.
|
Click the New Module icon on the Package page.
|
Name. Enter a name for the module.
Label. Enter a name for the module that you want displayed in the Sugar User Interface.
Package. The name of the package associated with this module displays on the page.
Navigation Tab. By default, this option is enabled to create a tab for the module that is identical to other Sugar module tabs.
Type. Click a template to select it for your module
|
3.
|
Click Save to save the module and add it to the package.
|
|
1.
|
In the Packages panel of the Module Builder home page, select the module from the package and click Fields.
|
|
4.
|
Click Save to create the new field.
|
A Sugar module has multiple relationships with other modules. Therefore, when you create a module, you must define its relationship with one or more modules. For example, Accounts is related to Contacts, Leads, Opportunities, and several other modules. Related records from these modules display in sub-panels on an account’s detail page. Therefore, when you create a module, you must define its relationship with one or more modules. You create one relationship at a time.
When you create a relationship, you are also selecting the type of information that you want to display. For example, when you create a relationship with the Contacts module, you can choose contacts for opportunities or accounts. Therefore the relationship type varies depending on the module with which you create the relationship.
Relate to. From the drop-down list, select the module you want to associate with your custom module.
Label. Enter a name of the relationship.
Subpanel. From the first drop-down list, select
Default if you want to display the associated module as a sub-panel on the detail page of the custom module.
From the second drop-down list, select Default if you want to display the custom module as a sub-panel on the detail page of the related module. If not, select
a specific module. The sub-panel options vary depending on the module that you associate with your custom module.
|
4.
|
Click Save to create the relationship.
|
You can delete a package if necessary. When you delete a package, all the files that it contains are also deleted. If you delete a package after it has been installed, you can uninstall it after deletion using the Module Loader. When you uninstall a package, you have the option of retaining or removing the database tables.
Studio enables you to customize modules by adding new fields, editing existing fields, field labels, page layouts, sub-panels, and Quick Create forms. You can export a customized module to your local machine and upload in into Sugar using the Module Loader.

Users can use their My Account page to override some of the configurations that the administrator makes in Studio. For more information, see “Setting Your Preferences” in the
Sugar Community Edition User Guide.
The Studio home page displays a list of existing modules in the left panel. These include the default Sugar modules as well as any custom modules that you create. The associated fields, labels, layouts, and sub-panels for each module are grouped within the module. You can click the Plus sign (+) preceding the module name to view them. The right panel displays the same information in the form of icons. You can click a module in either panel to drill down to its fields, labels, layouts, and sub-panels.
You can add and edit custom fields, drop-down lists, and field labels. You can also edit the default layout and sub-panels. After you complete editing the module, the updated version will not available to other user until you publish it. You can use Studio to make changes to a published module.
|
3.
|
Click Save to save your changes.
|
You can add custom fields to any module in Sugar. When you add a custom field, the application adds the field to the appropriate database table and stores the generated metadata. You can then add the fields to the desired layout, such as Edit View and Detail View. For custom modules, you can create fields in the Module Builder. Use Studio to edit a custom module after it has been published.
Data Type. From the drop-down list, select one of the data types listed below.
|
•
|
Text Field. Creates a text field for fields such as first name and last name.
|
|
•
|
Address. Creates fields for street, city, postal, state, and country.
|
|
•
|
Currency. Creates a field to enter an currency. The system automatically creates a field of the currency type if the field does not exist.
|
|
•
|
Date. Creates a field to enter a date.
|
|
•
|
Decimal. Creates a field to specify the precision past the decimal point.
|
|
•
|
HTML. Creates an HTML field to add HTML snippets.
|
|
•
|
Integer. Creates a field to specify positive or negative numbers. You can specify a range with the min and max value fields.
|
|
•
|
MultiSelect. Creates a drop-down list to select multiple values.
|
|
•
|
Flex Relate. Creates a field and a drop-down list from which you can associate a related record. You can add only one Flex Relate field to a module. Hence, this option does not display in the Data Type drop-down list if you attempt to add it to a module that already contains a Flex Relate field.
|
|
•
|
Phone. Creates a field to enter a phone number.
|
|
•
|
Radio. Creates a radio button.
|
|
•
|
Relate. Creates a field to associate a record with another record. You can add multiple Relate fields to a module.
|
|
•
|
Parent. This data type displays only if the module does not currently contain a Parent field. Creates a drop-down list to specify a parent module for a one-to-one parent-child relationship.
|
|
•
|
Field Name. Enter a name for the field. The system adds it to the Sugar database.
|
|
•
|
Field Label.The system automatically creates and displays the field label that will be added to the database.
|
|
•
|
Label Value. The system uses the field name as the label value. You can enter a new value if needed.
|
|
•
|
Help Text. Enter descriptive text for the field. This text displays when the user points the cursor at the field.
|
|
•
|
HTML. This box display when you select the HTML data type. Enter the HTML code in this box.
|
|
•
|
Default Value. Enter a default value for the field, if necessary.
|
|
•
|
Max Size. Enter the maximum number of characters that the field can contain.
|
|
•
|
Min Value. This field displays if you select the Integer data type. Enter a minimum value during data input.
|
|
•
|
Max Value. This field displays when you select the Integer data type. Enter a maximum value during data input.
|
|
•
|
Precision. This field displays when you select the Decimal data type. Enter the number of digits you want to express the precision for the fractional part of the number.
|
|
•
|
Required Field. Check this box to specify that users must enter a value for the field.
|
|
•
|
Audit. Check this box to display field values when a user clicks the View Audit Log link.
|
|
•
|
Duplicate Merge. From the drop-down list, specify one of the following options for the Duplicate Merge functionality on a record’s detail page.
|
|
3.
|
Click Save to create the field.
|
|
5.
|
Click Save to update the field.
|
Most modules display at least one drop-down list consisting of several values that users can choose from. For example, when users creates an account, they can choose a specific industry type and an account type from their respective drop-down lists.
As the administrator, you can create and edit values in all of the drop-down boxes in the system to suit your organization’s needs. You can also create new drop-down lists for a module.
Field Label. Enter a label name for the field to display in Sugar.
Help Text. Enter descriptive text for the field. This text displays when the user points the cursor at the field.
|
b.
|
In the Name field, enter a label for the drop-down list.
|
|
c.
|
In the Name field below, enter a name and its value.
|
|
f.
|
Click Save to save the list.
|
|
f.
|
Click Save to save your changes.
|
|
i.
|
On the Properties tab, click Save to save your changes.
|
Default Value. Select a value from the drop-down list as the default for this drop-down list.
Mass Update. Checkmark this box to enable users to use the Mass Update functionality to update this field value.
Audit. Check this box to display field values when a user clicks the
View Audit Log link.
Duplicate Merge. From the drop-down list, specify one of the following for the duplicate record merging functionality in modules such as contacts and accounts:
You can edit the page layout for List View, Detail View, Edit View, Search form, and Quick Create form. You can remove existing fields and add new ones to a view. You can also rearrange existing fields to change the current layout.

When you select List View, the system displays separate columns of fields that are currently displayed in the view, fields that are available for display, and hidden fields. You can click and drag a field from one column to the other depending on what you want to display to users.
When you select Edit View or Detail View, the system displays the separate sections of the current layout, along with the fields under each section. You can click and drag a field to a different location within the layout.
In Edit View, you can also change the order in which the user can tab from field to field on a page. For example, when users create a new account, they can tab from the Account Name field to the Website field and so on. You can change the tabbing order to so that users tab from Account Name to Email.
The Quick Create form, which is the same as the Edit View, enables users to create a related record from the detail page of a record. For example, you can create a contact from the Contacts sub-panel on an account’s detail page. In Studio, you can shorten the Quick Create form by removing some fields. You can also add additional fields, if necessary.
The breadcrumbs to navigate back to Studio display above. The Toolbox provides space to store fields that you remove from a view. It also provides new rows to add to the view and a list of available fields that you can add.
|
1.
|
Select Layouts and then select List View.
|
The List View page displays on the screen. The
Default column lists fields that are currently displayed in the User Interface. The
Available column lists fields that are available to users through advanced search. Users can search for and add any of these fields that they want to view in the search results. The
Hidden column lists fields that you want to hide from users when they perform an advanced search.

|
2.
|
To display a field in List View, select and drag the field from the Available or Hidden columns and drop it into the Default column.
|
|
3.
|
To remove a field from List View, select and drag the field from the Default column and drop it in the Available column.
|
|
5.
|
Click Save & Publish to display the updated List View in the User Interface.
|
|
2.
|
Select Detail View, Edit View, or Quick Create as appropriate .
|
|
3.
|
The Edit View page is shown below.To remove an existing field, drag it to the Recycling bin.
|
|
11.
|
Click Save to save your changes.
|
|
12.
|
Click Save & Publish to display the updated view in the Sugar User Interface.
|
Every module’s Detail View and Edit View display sub-panels listing related records from other modules. You can add or remove fields for these sub-panels depending on the information that you want to display to users.
To publish a module after you customize it in Studio, you will need to export it as a zip file to your local machine and then upload it from your machine into Sugar using the Module Loader.
The Export Customizations page displays the customized modules and indicates the area of customization. The screen shown below indicates that Opportunities module contains one or more customized fields

.
Package Name. Enter a name for the export package. The package will contain the customized modules that you select.
Author. Enter your name as the author.
|
5.
|
Select Save to Disk and click OK.
|
By default, all the module tabs are displayed when a user logs into Sugar. However, you can choose which module tabs to display when users log into Sugar. You can also choose the order in which these tabs are arranged in the Sugar User Interface.
By default, users can also configure module tabs on their My Account page. However, the user cannot add back module tabs that the administrator removed from the system. Administrators can deselect the
Allow users to configure tabs check box if they do not want users to make any changes.
The Configure Tabs page displays all the tabs in the
Display Tabs list.
|
5.
|
Click Save to save the configuration; click Cancel to exit the page without saving your changes.
|
|
3.
|
Click Save to save your changes; click Undo to revert to the previous value; click Redo to go back to your change.
|