Titan CMS online support, find help and get answers

Importing Files and Images

  • Published: November 14, 2008
  • |
  • Version: 1

Titan CMS includes a scheduled file import tool for automatically uploading and synchronizing external files with Titan CMS Doc Management. This is a very useful tool during the Content Creation phase of building out your website. This article describes how to setup and configure a Scheduled File Import Task.


Titan CMS allows you to have as many File Import Tasks as you like, each with different configurations. Modify the XML Configuration Data according to the specific kind of import you are doing.

  • The “Interfile Delay” parameter defines the number of milliseconds Titan CMS waits between files during the import.
  • “SourceFileDir” defines the harddrive or network location of the files being imported. “DestFileDir” defines the harddrive or network location used to store imported files. These parameters may be used to specify either an absolute file path on the Titan CMS host server or a UNC Path to a network drive or File Share.
  • The RootDocID parameter specifies the destination Folder in Doc Management. To determine the correct value for this parameter, switch to the Web Content Management module and move your mouse cursor over the folder you intend to import to. The hover text will appear, showing the DocID value in square brackets.
  • “DeleteOldVersion”, “DeleteSource”, and “HideMissingFiles” are flags used to define one of the synchronization steps for the import. A value of 1 enables a feature while a zero disables that feature.
    • For example, lets say that over time you have been importing new versions of the employee manual. When DeleteOldVersion is disabled, old versions are kept in the File History making it possible to revert to a previous version. When this feature is enabled, previous versions of the file are deleted from the database, and the electronic files are cleaned up at a later time.
    • DeleteSource tells the File Import task to delete the file from the source directory after it has been imported. This can be used to make sure that the source directory is clean every time the import process runs. That said, the import process is smart enough to know when a file has not changed, and it will skip over an item rather than import it.
    • HideMissingFiles affects how files deleted from the Source Directory are treated in Doc Management. A file missing from the source directory will never be deleted from Doc Management, to protect from accidental removal of items, with their statistics and history. The purpose for this feature is to allow missing items to be automatically hidden from the display automatically. When a new version is available and added to the source directory, a hidden item will be made visible again.

Complete the setup of the import task by configuring the job schedule. Initially, you may want to run your import task on a manual basis, but later, when several authors and editors are contributing content, including images or external documents, having this task scheduled to run automatically will improve productivity. Configure the frequency and timing of the task, and save your changes.
When finished, test the new task to confirm it is configured properly. Kick the task manually, and check the Execution History at the bottom of the task screen. IF successful, confirm that your files were imported by looking through your destination File folder in Doc Management