SugarCRM 7 - Making Ajax Requests

SugarCRM has a pretty great API if you know how to poll it. Today I'm
sharing two examples of where I've needed to poll SugarCRM's API with
some sample jQuery code.
A jQuery autocompleter
If you're declaring an input box and wish to autocomplete it's results
based on the results …
comments
Read More
SugarCRM 7 - Add a new action to a record

Odds are if you're customising SugarCRM, you will at some point need to
add functionality to the records page. This article shows you a
framework for creating actions on the UI, the API entrypoints to run
your code and how to link it all together using SugarCRM's sidecar
functionality.
1 …
comments
Read More
SugarCRM - Versioning Your Database
One issue that constantly re-occurs for me using SugarCRM is that
certain knowledge is only stored in it's database. So say you want to
revert to a previous version of Sugar and wish to obtain the Studio
customisations you've done at that version, say two days ago, well your
just …
comments
Read More
SugarCRM 7 - Set recordlist row colours based on row data

The tutorial shows you how to do two useful things in SugarCRM 7.
Firstly, how to call actions when rows get updated in SugarCRM's
recordlist and secondly, how to set information based on row data. The
example I have here will essentially update the table colours based on a
specific …
comments
Read More
SugarCRM - Permissions Script
I use salt quite extensively to deploy
SugarCRM installs and I wanted a scriptable way to setup the correct
permissions for Sugar running on a linux box. This script is based on
the Sugar
documentation
and this handy post
here.
Simply fill in your apache user details and the path …
comments
Read More
SugarCRM 7 - Hiding subpanels based on specific criteria
The new Sugar subpanels look great but they do take up quite a lot
space, without any ability to remove Subpanels via studio I've had to
come up with a few ways to hide them.
Note: Original Props go to Robin Larsson who wrote the
`original <https://community.sugarcrm.com …
comments
Read More
SugarCRM 7 - Adding a custom column to a list
This is the SugarCRM 7 equivalent to this post
here, because
Sugar has dropped the process record logic hook, we need to come up with
a new solution.
Here's how you can add a new column to a list view, I have to admit this
is one of the really …
comments
Read More
SugarCRM 7 - Adding an action to the listview

There doesn't appear to be a documented way to do this but in SugarCRM 7
this is how I've added actions to the listview. For this example it's
showing how to add a button to an animal module, which adds the animal
to a related circus event.
1. Adding the …
comments
Read More
SugarCRM - Search for records related to the current record
Say you have two modules in Sugar: Animals and Ringmasters and they
aren't directly related via a standard relationship but they are related
through some convoluted means. Now, imagine if you want to override the
SugarCRM search to allow you to search for all Animals indirectly
related to a Ringmaster …
comments
Read More
SugarCRM - Searches with data from indirectly related modules
Building modules in SugarCRM can cause you to create a boatload of
unnecessary relationships, simply because it's convenient to do so.
Maybe you'd have a relationship where A relates to B and B to C but
you'd like to search for all A module records that relate to C. One …
comments
Read More