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
-
Data Anonymizer for SugarCRM
Is data privacy your priority? Get a data-breach proof CRM system! Data Anonymizer is a tool designed to quickly encode data on your CRM instance, while preserving their diversity and relations betwee...
-
Sugar Integrate for DealHub
FEATUREDAre complicated price structures slowing down sales? Sugar Integrate for DealHub supercharges your sales team quoting capabilities and delivers high quality proposals to your customers directly within...
-
pro.sugar Blox
Intentional and customer-oriented communication does not have to be time-consuming and expensive! The pro.sugar Blox plug-in developed by provalida offers you more efficiency in written communication ...
- Show more addons