#2. Another idea. You could use a restlet-based approach to achieve what you're after. When you intercept the Document Creation event (in your custom listener) you could write logic to save or publish the document in question to another instance of Nuxeo using custom restlet(s). The custom restlet would accept documents, file them, and return them as requested. Your custom listener would call the appropriate restlet based on mime file type. In this way users interact with a single instance of Nuxeo in the front-end, but multiple repositories on multiple servers (logical or physical) can store the data by mime type.
Regards, Bruce. From: Daniel Tellez <[email protected]> To: Cesar Capillas <[email protected]> Cc: [email protected] Date: 11/17/2009 06:18 AM Subject: Re: [Ecm] multiple repositories in Nuxeo DM Cesar Capillas wrote: > Hi everybody: > > I'm quite new on the Nuxeo list and I'm inspecting the possibilities of Nuxeo DM for the next problem: > > 1. Consider a huge organization composed on several deparments, where the information of each department is wanted to save in different machines, or physical disks on the network via SMB, NFS or similar. I have read in the documentation that it is possible to define several repositories in DM. Is it possible to map those different repositories with different disks on the network? Any idea for this? > You can define different locations for each repository through binaryStore property. So, the answer is "yes". > 2. Is it possible to separate/save the documents in different repositories, depending on the mime-type of the document. For example, one repository for multimedia files (png, jpg, avi) , other one for PDF's and ODT files, etc..... Do you know any solution for this? Any module, development or experience about this? > You can capture the document creation event for example, to recognize the mimetype and save the document in a specific workspace or section. You can also do this action as a step in a workflow, or classify it via semantic procedures, like you can see here: http://blog.yerbabuenasoftware.com/2009/09/yerbabuena-has-published-third-version.html Hope this helps. Regards. > Thanks in advance. > > -- Cesar. > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm > > -- Daniel Téllez Yerbabuena Software CTO - Responsable de Desarrollo C/Iván Pavlov 8, Edificio Hevimar II, Oficina 2-3 Parque Tecnológico de Andalucía, Málaga (España) [email protected] Telf/Phone -Fax.: (+34) 902 995 246 Móvil/Mobile: (+34) 615 051 283 www.yerbabuena.es [email protected] En cumplimiento de la Ley Orgánica 15/1999 de 13 de Diciembre, de Protección de Datos de Carácter Personal, de YSENGINEERS, S.C.A., como Responsable del Fichero, pone en su conocimiento que los datos incluidos en este mensaje están dirigidos al destinatario o destinatarios designados, por lo que si lo ha recibido por error, le rogamos nos lo haga saber a la mayor brevedad posible, y elimine el original, no estando permitido hacer ningún uso del mensaje. Ponemos en su conocimiento la posibilidad de ejercer sus derechos de acceso, rectificación, cancelación y oposición, en los términos establecidos en la legislación vigente, que podrá hacer efectivos dirigiéndose por escrito a de YSENGINEERS, S.C.A., en la dirección: C/ Severo Ochoa, num. 4, Parque Tecnológico de Andalucía, 29590, Málaga. _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
