Directly Calling an Action in SugarCRM 7
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
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
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
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.
SugarCRM 7 - Adding a Global Menu Item
SugarCRM 7 is here and it is time to start digging under the hood. Along with it is a whole new, powerful way of customizing SugarCRM. This is a good thing. It’s an opportunity to rewrite our add-ons for our users which is one of those things developers always say that we’ll get to some time. In this example, we look at how to add a menu item to the global profile menu.
Add-On Spotlight
-
Upsert® Connector for Slack
FEATUREDSend messages from Sugar to Slack, use SugarBPM to automate messages, and perform Sugar searches from your Slack window.
-
Sage 50 CA Integration - SYNC by Commercient
FEATUREDYour ERP Accounting data is integrated with your SugarCRM when you use Commercient’s SYNC app. SYNC Accounts, Contacts, Invoices, Sales Orders, Products, Pricing, Inventory, and more!
-
Jira Integration for Sugar by Faye
FEATUREDGive your users the ability to monitor and track Jira issues from within Sugar. Customer facing teams using Sugar can keep an eye on critical project developments affecting their customers. Jira is th...
- Show more addons