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:
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
-
HubSpot For Sugar
HubSpot For Sugar gives you the ability to sync Sugar Leads and HubSpot contacts in either direction. Includes advanced mapping criteria to sync the records just the way you need to. -
Address Lookup add-on
FEATUREDHarness the capabilities of Google Places search and autofill within your Sugar platform. Easily locate addresses using either postcodes or street names, and streamline the entry process by receiving ... -
Quick Info
Quick Info is a SugarCRM add-on that helps users view linked records with no clicks. Investigate related information as deeply as you need without wasting time switching windows or tabs. - Show more addons