sugar u: session 3: building custom modules in sugarcrm
DESCRIPTION
Do you need a new module in your SugarCRM application to incorporate a new business requirement? Many businesses repurpose within standard modules to facilitate implementation of a new requirement. In this session we will discuss best practices on when to repurpose vs. when to create a new custom module. We will then learn how to create a new module, set up fields, edit page layouts and establish relationships to other modules. This session is a MUST for anyone who is looking to expand their Sugar application beyond what is standard/out of the box and for anyone looking to become a master Sugar Admin.TRANSCRIPT
![Page 1: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/1.jpg)
Building Custom Modules in SugarCRM
Sugar U.
![Page 2: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/2.jpg)
Bryan Leung
SugarCRM Professional Services Consultant
04/11/2023 ©2012 SugarCRM Inc. All rights reserved. 2
![Page 3: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/3.jpg)
Custom Modules – What, When and How
04/11/2023 ©2012 SugarCRM Inc. All rights reserved. 3
![Page 4: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/4.jpg)
Tweet: #SCON12
Objectives
Understand what custom modules are Identify when custom modules should be
created Learn how to create a custom module
04/11/2023 ©2012 SugarCRM Inc. All rights reserved. 4
![Page 5: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/5.jpg)
Tweet: #SCON12
What is a custom module?
04/11/2023 ©2012 SugarCRM Inc. All rights reserved. 5
![Page 6: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/6.jpg)
Tweet: #SCON1204/11/2023 ©2012 SugarCRM Inc. All rights reserved. 6
What is a custom module?
A module is a container that holds a specific set of data in the SugarCRM application
A custom module is a custom container that a system administrator can build to house a specific set of data
Allows for importing Allows for reporting Compliments other modules Can be related standard or other custom
modules
![Page 7: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/7.jpg)
Tweet: #SCON12
When should I create a custom module?
04/11/2023 ©2012 SugarCRM Inc. All rights reserved. 7
![Page 8: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/8.jpg)
Tweet: #SCON1204/11/2023 ©2012 SugarCRM Inc. All rights reserved. 8
Custom modules should be created when…
Business requirements dictate There aren’t any standard modules in the
SugarCRM application that can appropriately house the information needed
An existing standard module cannot be repurposed
You want to extend related custom data to existing modules
![Page 9: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/9.jpg)
Tweet: #SCON12
How do I create a custom module?
04/11/2023 ©2012 SugarCRM Inc. All rights reserved. 9
![Page 10: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/10.jpg)
Tweet: #SCON1204/11/2023 ©2012 SugarCRM Inc. All rights reserved. 10
Components
Package Module Templates
BasicCompany (Accounts)File (Documents)Person (Contacts)Issue (Cases)Sale (Opportunities)
Fields Layouts Relationships
![Page 11: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/11.jpg)
Tweet: #SCON1204/11/2023 ©2012 SugarCRM Inc. All rights reserved. 11
Package Buttons Defined
Save Duplicate Deploy Delete Publish
Creates a zip file to install into another SugarCRM instancesReady to be deployedThe destination instance will not have the package in Module BuilderThe package is considered as completedThe installed “published” package is deployed immediately in the destination instance
ExportCreates a zip file to install into another SugarCRM instanceNot ready to be deployedAdditional work to be continuedThe package and custom module(s) appear in Module BuilderThe package is not yet deployed
![Page 12: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/12.jpg)
Tweet: #SCON12
Demonstration
04/11/2023 ©2012 SugarCRM Inc. All rights reserved. 12
![Page 13: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/13.jpg)
Tweet: #SCON12
Q&A
04/11/2023 ©2012 SugarCRM Inc. All rights reserved. 13
![Page 14: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/14.jpg)
Tweet: #SCON12
Custom Module Best Practices
04/11/2023 ©2012 SugarCRM Inc. All rights reserved. 14
![Page 15: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/15.jpg)
Tweet: #SCON1204/11/2023 ©2012 SugarCRM Inc. All rights reserved. 15
Best Practices
Fully gather and understand the Business Requirement before starting
Start small and expand Studio level configurations are overwritten
each time a package is redeployed
![Page 16: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/16.jpg)
04/11/2023 ©2012 SugarCRM Inc. All rights reserved. 16
Submit Session Feedback
Select the SugarCon Mobile App: 1) Tap on this session2) Tap on survey3) Submit your feedback
*iPad prizes for attendees who submit session feedback using the Mobile App
![Page 17: Sugar U: Session 3: Building Custom Modules in SugarCRM](https://reader036.vdocuments.mx/reader036/viewer/2022070315/554f4934b4c905b9508b4756/html5/thumbnails/17.jpg)
04/11/2023 ©2012 SugarCRM Inc. All rights reserved. 17
#SCON12