cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Azure Storage configuration (DefaultBlobDispatcher)

Paul_Smith
Champ on-the-rise
Champ on-the-rise

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:

  • dc:title=mytitle With the other too:
  • dc:title~myprefix

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:length or blob:xpath..."

But I'm triying with different options without good results:

  • ecm:path=/test/test/22
  • ecm:path=/test/*
  • ecm:path~/test/*

Any suggestion? Is correct the property "ecm:path"?

Thanks in advance.

3 REPLIES 3

Florent_Guillau
World-Class Innovator
World-Class Innovator

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.

Paul_Smith
Champ on-the-rise
Champ on-the-rise

Hi Florent!

Florent_Guillau
World-Class Innovator
World-Class Innovator

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.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.