-
Type: New Feature
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.7.2
-
Fix Version/s: 5.7.3
-
Component/s: Excel Export, WebDelib Addon
-
Impact type:Configuration Change
-
Upgrade notes:
Scan importer feature implement a simple way to import document structure based on XML descriptor or simply binaries. The default logic of this feature is one file object = one document created in Nuxeo.
For WebDelib addon (NXP-11791), we developed a parser with more possibilities about the parsing than one proposed into Scan Importer. For instance, one XML file parsing can create several documents. See the documentation here and here.
You can now use the XML Parser instead default one proposed into Scan Importer, example of the contribution you have to add is given into description:
<?xml version="1.0"?> <component name="org.nuxeo.ecm.platform.importer.scanimporter.xmlparser.logic.contrib"> <require>org.nuxeo.ecm.platform.importer.service.jaxrs.contrib</require> <extension target="org.nuxeo.ecm.platform.importer.service.DefaultImporterComponent" point="importerConfiguration"> <importerConfig sourceNodeClass="org.nuxeo.ecm.platform.scanimporter.processor.XMLFileSourceNode"> <documentModelFactory documentModelFactoryClass="org.nuxeo.ecm.platform.scanimporter.processor.AdvancedScannedFileFactory" /> </importerConfig> </extension> </component>
A documentation of this importer will be written during this task into doc.nuxeo.com.