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?
The Gantt Project Module for SugarCRM CE gives project managers the tool that they have been waiting for. Now you can plan, coordinate, and track your project tasks using a familiar Gantt chart.
OpenCart Integration with SuiteCRM
SuiteCRM Opencart Integration is seamless and real-time, no dependency on admin to run a Cron job to pull or push data. “Once the information is keyed in one system it will push data to other systems instantaneously”
Shared Email Manager
Email clients are great but they don’t really work well when you have multiple people accessing same email account. That’s why with Shared Email Manager for SugarCRM you can put a better process in place. Get your team on the same page and not miss a thing.
- Show more addons