05-15-2020 08:56 AM
Hi. Based on the documentation:https://doc.nuxeo.com/nxdoc/file-storage/, i'm triying to configure the DefaultBlobDispatcher for upload binaries to Azure based on a property.
With the following property it works fine:
But now, I need upload binaries to Azure based on the property "path", evenmore, the documentation says that:
"Each property name is a list of comma-separated clauses, with each clause consisting of a property, an operator and a value. The property can be a document property XPath, or
ecm:repositoryName, or, to match the current blob being dispatched,blob:name,blob:mime-type,blob:encoding,blob:digest,blob:lengthorblob:xpath..."
But I'm triying with different options without good results:
Any suggestion? Is correct the property "ecm:path"?
Thanks in advance.
05-15-2020 09:06 AM
ecm:path isn't considered a document property xpath, as it's not from a regular schema but a system property (ecm:). So it's not supported in the default blob dispatcher, you'll have to code your own subclass.
05-15-2020 04:49 PM
The meaning for xpath is shifting depending on where it's used in Nuxeo, but in general it means the xpath of property backed by a standard, contributable schema. That's not the case for system properties.