The "utils" option allows you to define custom global utility functions. One use of a custom utility function is for populating a dropdown from the database. For example, you may wish to have a custom field on a contract that tracks what product is associated to it. There are two main steps to do this; define the custom function and then tell the custom field to pull from the function.
Using the module manifest organization mentioned in a previous post (https://www.sugaroutfitters.com/blog/organizing-files-in-a-module-zip) we first create the utils function in contract_products.php:
Now we tell our custom field to pull from this new function:
Finally, we add these to the manifest so that it will get installed via the Module Installer:
What other purposes have you used custom utils for?
Multi File Upload (with Preview)
Add the ability to not only upload multiple files, but also the ability to preview different file types right from inside SuiteCRM. Supports many file types such as PDF, Word Docs, TXT, PNG, JPG, and more.
Join.Me Meeting Integration
How many of your meetings are improved by screen sharing? Join.Me is an easy to use tool that makes product demos, troubleshooting, and team collaboration easier from remote Windows and Mac systems. Tie the excellent Join.Me service directly into your SugarCRM Meetings with this add-on.
Social Login For Sugar CE
Social Login for SugarCRM majorly reduces the end user’s tiring job to remember the password for their CRM. It also facilitates the admin to manage the User Requests of users who are new in the CRM. Moreover, admin can also choose whether to ‘Auto Approve’ or ‘Manual Approve’ login request...
- Show more addons