Hi,

Thanks for your response.
I have not put quotes in the first line (list of fields); example of file In 
attachment.

Cdlt,
Hatem 



-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de helix84 
Envoyé : 17 octobre 2012 11:08 À : Hatem Jlassi Cc : 
[email protected] Objet : Re: [Dspace-tech] Import data -Mapfile

On Wed, Oct 17, 2012 at 4:42 PM, Hatem Jlassi <[email protected]> 
wrote:
> It's ok for Mapfile, but I have other problem, I want to import a CSV batch 
> metadata , but dspace generates this error message " Unknown metadata element 
> in heading: id".

Hi Hatem,

if I remember correctly, this can happen if the cells in the header column are 
in quotes, like this:

"id","dc.identifier.uri","collection","action",...

Just remove the quotes from the first line:

id,dc.identifier.uri,collection,action,...

All the other lines can (and should) have quotes. If this is not the problem, 
let us know and I'll take another look.

Regards,
~~helix84

Attachment: data.csv
Description: data.csv

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to