Configuring for Dynamic Import use

If this is a new installation, you must create the map files for Dynamic Import in the Contenta Client application.

Map files must be created for all files that are to be imported into the Contenta database. Test all map files in Contenta Client before using in the Contenta Web application. The map files must be copied to the Contenta Web server for access and use by Contenta Web users.

See the Dynamic Import User topics in the Contenta User documentation for information about creating map files.

If you have map files from a previous version of Contenta, you must copy them to the Contenta Web server for access by web users.

Contenta map files must be located on the Contenta Web server in the Contenta_home > encaps > di > MapFiles directory.

  • New Installations: Copy the utils.pm and CustomCallbacks.pm files from Contenta_home\encaps\di to Contenta_home\encaps\di\custom.
  • Upgrade Installations: If you customized the utils.pm and CustomCallbacks.pm files located in Contenta_home\encaps\di\custom, compare the customized files to the upgradedelivered files in Contenta_home\encaps\di. Edit the files in the custom directory to include the changes delivered by the upgrade in the files in Contenta_home\encaps\di.

If you have not customized the files, copy the utils.pm and CustomCallbacks.pm files from Contenta_home\encaps\di to Contenta_home\encaps\di\custom.

Troubleshooting Dynamic Import

Issue/ProblemExplanation/Resolution
Dynamic Import does not correctly import a file or directory with Unicode characters in its name.This known issue occurs in Contenta Web because a Perl method incorrectly applies security to the file or directory.
To work around this issue, in the Registry editor:
  1. Change all Contenta temporary paths from Contenta_home\temp to C:\Windows\TEMP.
  2. Change the docBase setting from C:\Program Files\Apache Software Foundation\Tomcat 8.0\conf\Catalina\localhost\cw_tmp.xml to C:\Windows\TEMP.
An alternative workaround is to complete the following steps:
  1. In Services, right-click Tomcat to display Tomcat settings.
  2. On the Log On tab, select This account.
  3. Enter administrator credentials.
  4. Save the settings and exit Services.
Dynamic Import returns the following error.

Error connecting to db and initializing application: di paths failed with exit status=2

This issue may occur if the Web Server was not rebooted after installation. To resolve it, reboot the Web Server.