How to zip a set of pictures
I have to send a zip file with a set of pictures but I can't manage to define the xpath.
Here's what I try in the automation chain :
Files > Get Document Files > xpath : file:content Files > Zip > photos.zip
I get the following error :
java.lang.ClassCastException: org.nuxeo.ecm.core.api.model.impl.primitives.BlobProperty cannot be cast to org.nuxeo.ecm.core.api.model.impl.ListProperty
I also tried something like this with no success :
What's the xpath to get the pictures files ?
Thank you very much for your answers
You should try with the operation
Get Document File and not
Get Document FileS if you have only a mono valued field which is the case of file:content for example.
Hope that help
Thanks a lot, it works fine. I'd like to send this zip file by mail now. I ask a new question in the list.