Imports work from CSV files (and only CSV files on actual version V1.3.0).
The first line of the file must contain de name of the fields : look into the database, or in the Model class : the names are the same.
You may or may not add an "id" column to the file :
- if column "id" exists and "id" is set for a line, the import will try to update the corresponding element, and will fail if it does not exist
- if column "id" does not exists or if "id" is not set for a line, the import will create a new element from the data.
In any case, columns with no data will not be updated : then you can update only one filed on an element.
To clear a data, enter the value "NULL" (not case sensitive).
For columns correponding to linked tables ("idXxxx"), you can indicate as the column name :
- either "idXxxx" : the code of the element in the linked table is expected
- either "Xxxx" (without "id") : the name of the element in the linked table is then expected, bringing better readability to the file.
Names of columns can contain spaces (to have better readability) : the spaces will be removed to get the name of the column.
Insertion into "Planning" elements (activity, project), automatically inserts an element in the table PlanningElement : the data of this table can be inserted into the import file (working from version V1.3.0).
I tried to import resources or activities (~tasks) in CSV from a MsProject Like software. I stood stuck on an error: column 'name' is mandatory. I had a column 'name' dully filled, I checked orthograph and syntax, but nothing changed.
I should say that apart of the column 'name' there could be other ones which could be mandatory. But the only model I could find is the MySQL one.
Is there a bug? Where could I find more information on the import function?
The pb was with the separator in the UI it is writen 'comma' instead of 'semi-column'. I checked it by doing an export as suggested.
Anyway the UI should be modified.
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Session
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.