close

Filter

loading table of contents...

Deployment Manual / Version 2406.0

Table Of Contents

3.9 Importer Properties

import.user
Value String
Default importer
Description The name of the CoreMedia user with which the importer logs on. Make sure that the user has the rights required to carry out operations triggered by the import process, for example, creating a new document, editing, approving, publishing. For this purpose, the standard CoreMedia installation offers a predefined user called importer (password also importer).
import.password
Value String
Default importer
Description The password of the user to log in with.
import.autoLogoutSeconds
Value int
Default -1
Description This property defines the time of inactivity in seconds after which the importer should log out. When the importer is active again, it will log in at the server automatically. A value of "-1" means that the importer will not log out.
import.multiResultGeneratorFactory.property.sleepingSeconds
Value int
Default -1
Description This parameter should always be set to "-1". To check for new files continuously, environment variable IMPORT_SLEEPING_SECONDS can be used in a Docker setup (see ???).

Table 3.39. Properties of the cm-xmlimport.properties file


import.loginTimeoutSeconds
Value long
Default -1
Description This property defines the timeout for login attempts after which the importer aborts. If import.loginTimeoutSeconds=-1, the importer tries to login forever without abortion.
import.enforceCompleteVersion
Value Boolean
Default true
Description

This property handles the processing of XML importer files. See Section 4.1, “The CoreMedia XML Format” in Importer Manual for details on the CoreMedia XML format.

  • import.enforceCompleteVersion=true

  • For each <version> element in the importer file a new version will be created in the CoreMedia repository. For all properties of a version the values must be given. It is not allowed to omit a property.

  • import.enforceCompleteVersion=false

  • Now it is possible to omit even all property elements of a version. If there are only action elements and the document already exists on the server, then no new version is created and the corresponding actions are applied to the document (delete) or to the latest document version on the server (approve, delete). If there is at least one <property> element in the <version> element then for every property that is specified in the document type but missing in the XML importer file, the property value of the predecessor document version is taken. If there is no predecessor version, then a default value is inserted, that depends on the property type.

import.validate-textproperty
Value Boolean
Default false
Description If "true" the importer validates all XML text properties against the associated DTD. If a validation fails, no document is created on the server. For big XML properties the validation may take some time.
import.removeBrokenLinks
Value Boolean
Default false
Description If "true" the importer removes broken content links in link list and markup properties. In markup properties only the link tag (a or img) is removed, not the containing link text. Be careful when enabling this option, as it may lead to invalid XML in markup properties.
import.entityResolverClass
Value class name
Default see description
Description Configures the name of a class of type org.xml.sax.EntityResolver used to resolve entities in markup properties during XML validation. The default value is com.coremedia.xml.ClasspathURLEntityResolver.

Table 3.40. Properties of the cm-xmlimport.properties file


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.