Creating a Layout and View for a Module in SugarCRM 7

Posted by on February 20, 2014
Since we are completing rewriting SugarChimp for SugarCRM 7 we figured this would be a good opportunity to share how to create a module from scratch. More specifically, in this series we will cover how to create a nice onboarding process for a new user just getting started with the integration. To start, lets create our first layout and view in the new Sidecar framework.

Directly Calling an Action in SugarCRM 7

Posted by on February 12, 2014
In the old SugarCRM 6 world, if you wanted to create a custom action and call it directly it was as simple as creating a PHP file and dropping it in a directory. To illustrate, here is a simple example of an action called "HelloWorld". This exists in /custom/modules/Campaigns/HelloWorld.php...

Add Restricted Content to Packages on SugarCRM On-Demand

Posted by on February 6, 2014
If you’ve ever developed a SugarCRM Module Package for SugarCRM On-Demand, you’ve probably been confronted with some sort of content restriction. SugarCRM On-Demand currently employs several Module Loader restrictions. Package Scan File Scan Restricted Copy Module Loader Actions Valid file extension list Blacklist functions list This seems very reasonable, since it is content installed on SugarCRM’s servers, after all. Unfortunately, these restrictions often limit what a developer can do. For example, many PHP functions are blacklisted by the File Scanner. The valid file extension list restriction will prevent the use of many file types that may or may not even execute server side.

SugarCRM 7 - Extending a View

Posted by on November 20, 2013
Continuing on our journey of adding a global menu item, last week I covered how to pass data through to our custom menu option. However, I did so by simply copying over the core profileactions .hbt and .js file over to custom which leaves it vulnerable to being overwritten by some other add-on down the road. To minimize that risk I will now cover how to create a custom view that extends the core profileactions view.

SugarCRM 7 - Passing Data to Views

Posted by on November 13, 2013
Expanding on last week's example, we now look at how to pass data to the menu item to make the URL built specifically for the user who is currently logged in. A custom javascript object is created for a view along with a custom client API method that extends an existing endpoint.

Keep up to date on the latest additions

We'll send you an email every month with handpicked add-ons, reviews, tricks and tips. Don't worry, we hate spam as much as you do.