cancel
Showing results for 
Search instead for 
Did you mean: 

fill document fields using csv file

ITShine_
Star Contributor
Star Contributor

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.

1 ACCEPTED ANSWER

Manon_Lumeau
Star Contributor
Star Contributor

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.

View answer in original post

4 REPLIES 4

Manon_Lumeau
Star Contributor
Star Contributor

Hi,

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

[Manon Lumeau](https

Manon_Lumeau
Star Contributor
Star Contributor

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.

Thank you