Nuxeo CSV document upload with tags not working

Hi, I am using nuxeo 8.1 and added nuxeo csv package for csv import along with files. Its working very well with all nuxeo schema fields however i am not able to add tags in the csv. The tag is not added in the document even after adding column “tag:label” OR “ecm:tag”.

Can some one help me with an example to add a tag. Is it possible to add a tag with Nuxeo CSV package?

below is my csv:

“name”,“type”,“dc:title”,“dc:description”,“file:content”,“tag:label” “Tulips”,“Picture”,“Tulips sample”,“This is my file's description”,“Tulips.jpg”,“Amol”

1 votes

2 answers

1434 views

ANSWER



Hi Amol,

at first, you can find into list of AUTHORIZED_HEADERS of Nuxeo CSV project the ecm:tag, so you must use it instead. I have seen that Nuxeo CSV module delegates the update or create document to CoreSession with the computed map of properties, ecm:tag included.

Hope it helps

VS!

1 votes



Hi Victor, thanks for the answer. However i am getting below error while using ecm:tag.

2016-02-17 21:15:54,584 ERROR [Nuxeo-Work-csvImporter-3] [org.nuxeo.ecm.core.event.impl.EventServiceImpl] Exception during binaryMetadataSyncListener sync listener execution, continuing to run other listeners org.nuxeo.binary.metadata.api.BinaryMetadataException: Command 'exiftool-read-taglist' is not available.

    at org.nuxeo.binary.metadata.internals.ExifToolProcessor.readMetadata(ExifToolProcessor.java:98)
    at org.nuxeo.binary.metadata.internals.BinaryMetadataServiceImpl.readMetadata(BinaryMetadataServiceImpl.java:60)

Is this some configuration issue. Am I missing something ?

02/18/2016

Hi Amol,

it seems you don't have installed exiftool command in your system. You can find the contribution for the command 'exiftool-read-taglist', for example, here: http://explorer.nuxeo.com/nuxeo/site/distribution/cap-8.1-SNAPSHOT/viewContribution/org.nuxeo.binary.metadata.contribs--command

You can check it in your system before.

Regards, VS!

02/18/2016


Thanks Victor, however I have also tried using ecm:tag as a column name. That also didn't work.

0 votes