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
  • Reliable, simple-to-use plugin for enabling one-on-one and conference-room communication via video, phone, chat, and SMS with internal users and external contacts. Keep connected with your colleagues and your contacts.

    learn more
  • 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
  • Easily schedule and create new calls and meetings in SugarCRM using just drag-and-drop. The intuitive interface is instantly recognizable to your users who are used to Gmail, Outlook, and other similar calendaring tools. Given the correct permissions, you can even see the schedules of others on your...

    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.