Blog Archives

Adding a custom search filter to the ListView

I was given a task that involved adding a filter to the ListView of an Events module so that (by default) only future events are displayed….but with some way of listing them all. Two obvious solutions came to mind: filter

Posted in SugarCRM development and customisation, SugarCRM development development hints and tips, SugarCRM development tutorials

Adding Many to Many Relationships to the Search Box in SuiteCRM and SugarCRM CE 6.5.x

Out the box SuiteCRM and SugarCRM CE do not allow searching from related modules with a many to many relationship. But this can be overcome by adding a custom relate field that represents your relationship then using a custom sub-query

Posted in SugarCRM development and customisation, SugarCRM development development hints and tips

Allow System Admin users to set ‘Textfields’ as being mass update fields in SugarCRM and SuiteCRM

Mass update on text field.

In my last post I showed you how to make specific fileds for specific modules mass up-datable but what if you want to make a field type mass up-datable across all modules? In the following tutorial I have used text

Posted in SugarCRM development and customisation, SugarCRM development development hints and tips, SugarCRM development tutorials

Add any field to Mass Update in SugarCRM CE | SuiteCRM

Before we start I want to make it clear that this is a Non-Upgrade Safe modification. Credit to Jason Eggers for originally describing how to do this in this forum post. By default SugarCRM only allows custom fields of the

Posted in SugarCRM development and customisation, SugarCRM development development hints and tips

Convert the country text field in SugarCRM CE or SuiteCRM to a drop-down list

If you need to change the country text field into a drop-down list in any of the sugarCRM’s modules this post will show you how. Step 1 Create the vardef for your country field custom/Extension/modules/[THE_MODULE_NAME]/Ext/Vardefs/custom_primary_address_country.php Step 2 Make a copy

Posted in SugarCRM development and customisation, SugarCRM development development hints and tips

Logging custom error messages in SugarCRM

Depending on what your Log Level is set to in the system settings you can log errors to the sugarcrm.log located in the root folder with the following code snippets

Posted in SugarCRM development development hints and tips