07-13-2009 06:46 AM
09-28-2009 04:08 AM
02-19-2010 12:48 AM
02-19-2010 02:25 PM
2. I'm aware of spaces and rules that can be applied to incoming content.
Assuming that someone drop in the XLS file to repo basing on content of this file I would like to create arbitrary number of different files i.e new file for each row in XLS.
I believe that there is now out of the box solution for this, and we will need to create customized rule for content. So the question is it feasible and what have to be done ?
02-23-2010 03:35 AM
FileFolderService fileFolderService = serviceRegistry
.getFileFolderService();
ContentReader rawXML = fileFolderService.getReader(actionedUponNodeRef);
rawXML.setMimetype("text/xml");
input = rawXML.getContentInputStream();
<!– Parse LegalSnapScan generated XML –>
<bean id="legal-xml-parser" class="es.binovo.alfresco.action.ParseLegalXMLActionExecuter" parent="action-executer">
<property name="companyHomePath">
<value>/${spaces.company_home.childname}</value>
</property>
<property name="publicAction">
<value>true</value>
</property>
<property name="serviceRegistry">
<ref bean="ServiceRegistry"></ref>
</property>
<property name="storeUrl">
<value>${spaces.store}</value>
</property>
<!– TODO depende de storeUrl, por eso lo ponemos despues, quiza exista una forma mejor de expresar esto –>
<property name="invoiceTemplatePath">
<value>/Data Dictionary/Presentation Templates/invoice.ftl</value>
</property>
</bean>
Tags
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.