nuxeo-case-management-importer is an application to import cases from the file system to Nuxeo. It uses RESTlet for the import. This application expects a folder in which it can find xml files corresponding to the metadata of documents to import. This xml file can reference other files within the same directory that will be the blobs of the document.
A default schema of the xml file is provided with a default class to read it. The developer can override this class to read different schemas. The default schema is:
mailEnvelopItems node references a list of paths. Each path entry points to a file that is an item of this envelope. It is not allowed to have envelope with no items inside it.
The schema nodes have a name attribute referencing the name of the schema. Each node under it will use the schema prefix and field. It has to be the same prefix declared in Nuxeo.
Any schema used in the Document returned by the adapter when calling for a
CorrespondenceEnvelope can be used.
The import is rejected if:
- a file pointed to in
mailEnvelopeitemis not found
- No recipients are filled
- There is no title field (default is