.CSV import into class

Author Message

Benjamin Litsani

Tuesday 14 December 2010 7:35:04 am

Hello, I'm starting with ez publish. I developed a website: http://www.cd.auf.org/cadastre/schoolbook/index.php/ (not yet finished)

But I am stubborn to a problem of importing data into a class already defined. I created a class in EZ Publish is called "establishment", I have a. csv file that data with the structure according to the class.

When I try to import this file using data_import, I get this error message: "EZ Attribute deosn't exit skipped. I searched the problem, but I have not found a solution.

So if you can help me by explaining how to make it work.

There is my .csv structure:

'nom_etablissement', 'nom_etablissement', 'description_etablissement', 'code_province', 'province', 'code_district', 'district', 'code_territoire', 'territoire', 'code_division', 'division_etablissement', 'code_sous_division', 'sous_division_etablissement', 'n_secope', 'regime_de_gestion', 'secteurs_enseignement', 'statut_d_occupation', 'milieu','date_de_creation'

the same with my custom class establishment

my class info:

Name:
Establishment
Id:
establishment
Description:
Model Object Name:
<nom_etablissement>

Name:
Establishment
Username:
establishment
Description:
Model Object Name:
<nom_etablissement>

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.