fill document fields using csv file

I'm using Nuxeo SDK , i want to import many files using a csv file which contains metadata , i mean every column is a field in nuxeo interface. I've heard about Nuxeo-csv but i can't find how to use it and i don't know if it supported what i want to do.

0 votes

2 answers

1255 views

ANSWER



Hi,

To be able to modify the date format you need to override the actions bean: @Name("csvImportActions") and extend the org.nuxeo.ecm.csv.CSVImportActions. Then, you need to redefine the importCSVFile method (see this page). In this method, you will be able to change the CSVImporterOptions objet to handle your date format.

0 votes



Thank you
07/13/2015


Hi,

You'll find here the documentation about Nuxeo CSV. Don't hesitate if you need more information about this add-on.

0 votes



Manon Lumeau I've tried Nuxeo CSV and it's working well, but i've a problem with date format. Actually, i've read in the link above that "dates must use the format MM/dd/yyyy," so i want to know if it's possible to use it with format as : dd/MM/yyyy
07/10/2015