Imports aren't set up for this module type

Hi All

I have created a custom module. I have set it to be importable. However I still get this error:

“Imports aren’t set up for this module type”

I have looked through the forum. if I try to set the “var $importable = true;” then I get another error indicating something along the lines of the variable cannot be redefined.

So I am at a loss on how to resolve this. Any thoughts?

SuiteCRM version:

Version 7.10.4
Sugar Version 6.5.25 (Build 344)

Thanks!

Phil

Addition to this.

I also tried http://support.sugarcrm.com/Knowledge_Base/Developers/Customization/Enabling_Importing_for_Custom_Modules/

Nothing doing. As I still cannot add the var.

Ok further to this.

I deleted the custom module. Recreated it with the import option on from the beginning.

This time. When I checked the _.php file. I found an entry "public $importable = false;’

Changed it to true and now it works.

Weird!

Anyway…now I know :slight_smile:

Phil

Hello, I am having the same issue in v7.9.8. Where did you exactly found this file? I am looking for mine one but not able to find it?

Thanks a lot

I found it at /modules/ModuleName/ModuleName.php

I changed public $importable = false; to public $importable = true; and it works. You can now upload data in the Import Wizard in the admin panel.