Blobdispatcher in version 7.10

Hi,

I would like to ask if blobprovider and blobdispatcher is working in version 7.10. I followed documention and after it didn't work i checked also it described here: http://www.nuxeo.com/blog/hybrid-file-storage-policies-nuxeo-platform/ but it still doesn't want to work. Any suggestions? No folder additional folder is created and data still is storing at only “data” folder. This is my code, and I don't what could be wrong here:

1. <?xml version="1.0"?>
2. <component name="org.nuxeo.ecm.platform.storage" version="1.0">
4. <extension target="org.nuxeo.ecm.core.blob.BlobManager" point="configuration">
6. <blobprovider name="test">
8. <class>org.nuxeo.ecm.core.blob.binary.DefaultBinaryManager</class>
10. <property name="path">binaries-test</property>
12. </blobprovider>
14. <blobprovider name="test2">
15. <class>org.nuxeo.ecm.core.blob.binary.DefaultBinaryManager</class>
17. <property name="path">binaries-test2</property>
19. </blobprovider>
21. <blobdispatcher>
23. <class>org.nuxeo.ecm.core.blob.DefaultBlobDispatcher</class>
25. <property name="dc:description=test">test</property>
27. <property name="blob:mime-type=text/html">test2</property>
29. <property name="dc:description=test2">test2</property>
31. <property name="default">default</property>
33. </blobdispatcher>
35. </extension>
37. </component>
0 votes

1 answers

821 views

ANSWER

Where did you create this file? How is it named?
04/18/2016

Oh sorry, I forgot to mention it. It is named newdispatchers.xml and it's in NXHOME/templates/custom/config and I did set in nuxeo.conf custom template to contribute. After starting server I can find this file in nxserver/config
04/18/2016



Your file has to be named something ending in -config.xml to be taken into account. I'm not finding anywhere we mention it explicitly in the doc but I'll ask the doc team to make sure that's updated.

1 votes



It's working. Thank You.. It makes sense to end xml files with that. I don't why i didn't think about it :).
04/18/2016