-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.7.3-SNAPSHOT
-
Fix Version/s: 5.7.3
-
Component/s: Excel Export
-
Impact type:API change
-
Upgrade notes:
Here is a typical contribution for the current contribution for the new Advanced XML parser to create a new Document :
<extension target="org.nuxeo.ecm.platform.importer.xml.parser.ImporterComponent" point="documentMapping"> <docConfig tagName="theItem"> <docType>MyDoc</docType> <name>@name</name> <parent>..</parent> </docConfig> </extension>
This contribution ask to create a Document MyDoc each time an item theItem is found.
example:
... intoduction of my xml and blah blah ...
<theItem name="toto">
....
</theItem>
....
____
Goal of this task is to execute an automation chain after the creation and metadata injection with the same MVEL context that one used for parsing computation.
So the contribution will something like that:
<extension target="org.nuxeo.ecm.platform.importer.xml.parser.ImporterComponent" point="documentMapping"> <docConfig tagName="theItem"> <docType>MyDoc</docType> <name>@name</name> <parent>..</parent> <postCreationAutomationChain>myChain</postCreationAutomationChain> </docConfig> </extension>