Make a custom module importable

If you’ve created a custom module but are getting the message “Imports aren’t set up for this module type” then it’s very easy to add this functionality to your custom module.

In the bean file modules/ABC_Your_Module/ABC_Your_Module.php simply add the line

var $importable = true;

After ...

more ...

SuiteCRM Missing Field Definitions

If you move instances of SuiteCRM around it’s possible to have a copy of the SuiteCRM files that reference a custom field that doesn’t exist in the fields_meta_data table.

This can cause broken SQL queries since SuiteCRM will try to reference a field but won’t have it ...

more ...



SuiteCRM Push Notifications

SuiteCRM Push Notifications is a package which adds push notifications using third parties as a possible workflow action. It currently only supports PushBullet.

Simply define your PushBullet API token for users that wish to receive notifications:

UserPage

Then create a new workflow with the user as the recipient (careful not to ...

more ...

SuiteCRM for Developers Released

Intro

I work with SuiteCRM at my day job daily and have become quite experienced in it’s use, particularly customising and developing with SuiteCRM. However as a young project it lacks the wealth of resources that other projects have. Even the project from which it is forked could do ...

more ...

SuiteCRM Custom Search Fields

Intro

Sometimes you may want to add custom search fields to a module that do more than simply search a field. In this post we’ll be looking at how to add a custom search field which will allow searching for all accounts that have no associated contacts.

Adding the ...

more ...

SuiteCRM Package Builder

SuiteCRM package builder is a small PHP script which eases the pain of building a SuiteCRM package for installing changes to other instances. It simply requires a SuiteCRM install and a compliant manifest file.

This means you can build up the bulk of the package just by running something similar ...

more ...

BeanFactory Cache

Intro

The BeanFactory is a great way to load and query for beans without using SQL.

For example we can load an Account with a known id:

$bean = BeanFactory::getBean('Accounts', '1234');

Unexpected behaviour

However this method can cause some unexpected behaviour. Let’s look at the following example: wzxhzdk ...

more ...