You have built the next killer SugarCRM module. But will it pass the Module Loader restrictions for On-Demand? Thankfully, you can easily test this out on your own local development environment now and save some significant support time later.
To test, simply add the following to your config_override.php:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$sugar_config['moduleInstaller']['packageScan'] = true; |
Now, when you go to install your module it will be scanned exactly as it will be on an On-Demand instance. It will then return to you any issues that it catches.

For more information on the package scanner or Module Loader restrictions in general check out these links:
- Module Loader Restrictions - SugarCRM Dev Guide
- Module Loader Restriction Workarounds - SugarCRM Support Site
- Restriction Overview - SugarCRM Support Site
To view the complete list of black listed functions and classes view the source of ModuleInstall/ModuleScanner.php.
If you have found good workarounds for any specific black listed functions please share below.
Add-On Spotlight
-
Upsert® User Adoption
FEATUREDTrack and report on user behavior across modules in SugarCRM for an in-depth understanding of user adoption patterns. See which users are most active, which modules see the most traffic, and create re... -
Alfresco Integrator for Sugar
The Alfresco Integrator for Sugar by eVolpe is a perfect solution for all the companies, which are currently deploying or already using both of the systems. Are you facing difficulties trying to coord... -
Mautic Integrator for Sugar
Are you facing difficulties trying to coordinate efforts between marketing and sales? The Mautic Integrator for Sugar by eVolpe is the best solution that will help you solve this issue. TRY IT NOW FOR... - Show more addons