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:


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.

Like this post?

We'll send you an email once a month with the latest posts.

Subscribe to this blog

Random Spotlight
  • Need to set up a numbering system to track your records? Define and add a unique identifier field to any SugarCRM record. Option rich so that you can define the alphanumeric format that you need. Start tracking your Quote, Cases, Accounts and any other module today.

    learn more
  • New version: more elegant, clear, accurate. New feature: bread crumb navigation!
    Now you can navigate your SugarCRM more quickly!
    This new theme has a clean and professional style. Includes great features such as a record preview right from the list view, list of last assigned records and a subpane...

    learn more
  • Dynamic Target Lists for SugarCRM enables users to AUTO populate Target Lists based on one or more pre-defined conditions. This module keeps your Target Lists up to date and relevant.

    learn more
  • Show more addons

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.