When there are no projects or project templates listed within SuiteCRM you get the message:
You currently have no records saved. Create or Import one now.
When you click Import, you get an error: “Imports aren’t set up for this module type”
Also, projects are not listed in the Import Wizard as an option for import.
But the suitecrm User Guide reads: Projects > Projects Actions “Import Project – Redirects you to the Import Wizard for the Projects module”
I read a few posts about a generic method of enabling import for a given module but the instructions were vague and not specific to the projects module.
Is it possible to import a project or project template? If so, how? If not, does anyone know if some kind of add-on exists to allow importing of projects and/or project templates?
I think this post is a bit old, but it helped me to my project. I think this could be the correct way to do this since upgrades could disable your changes if are made directly on core class. The change is made with a custom class extension as is commented on this thread: https://community.suitecrm.com/t/how-to-extend-a-core-bean/59609/6
<?php
require_once("modules/Project/Project.php");
/**
* CustomProject class
*/
class CustomProject extends Project
{
public $importable = true;
/**
* IMPORTANT: You must include this call to parent class in constructor or will not work!
*/
public function __construct($init = true)
{
return parent::__construct();
}
}
Run Repair and rebuild
Now the Project module is liste in import
Optional Step
With previous step you will be able to import proyects from Administration Page, if you wish to have the option in left menu you shold follow next step.