Importing in Custom Modules

I’ve built two custom modules and while the import functionality is enabled on the front-end, it was disabled on the back end. I read that I needed to go into the file-level and set “importable” to true which I did. This temporarily fixed the issue but a few days later it was switched back to false and I could no longer import. Does anyone know how to fix this long-term? It always looks correct on the front-end, it just stops me from importing.

What is your SuiteCRM version.

Maybe you could set that in config.php or config_override.php

Version is 7.14.4, could you provide any more info on how I’d do that?

In your custom modules, lets say module Name is Jobs, so you would have a Bean file at modules/Jobs/Jobs.php

In this file check if you have

public $importable = false;

This should be added and set to true.

1 Like

Thank you! I did this and it fixed the issue but two days later I had the same error on the front end and I when I went into the files it was set to false again. Do you know how to stop it from reverting?

Checkout this @meblewit