V4 and the Omnis Data Bridge (ODB)

Version Relevance: V4 onward

Issue: We use Omnis Data Bridge (ODB) to connect to our data. Is there anything special we need to know when upgrading to V4?

Nov 27th, 2012

Feedback: Upgrading to V4.0xxx from earlier versions allows the initialisation of the Language Swap System, by entering at least one pair of Language Code and Name into File – System Manager – Company Details, Localisation tab, Language Swap Character field.

See the full help at Introduction to Language Swap System.

Under normal Local Area Network (LAN) access to the datafile, once the first pair is entered and saved as above, an additional datafile will be created alongside the main datafile with the suffix .lsw – e.g. 'MyData.lsw' if 'MyData.df1' is the first segment of the main datafile. This is similar to the 'MyData.kwd' and 'MyData.lkf' datafiles for the Keyword and Linked File systems respectively, if in use.

However, if access to the datafile is normally via the ODB, the additional Language Swap datafile must first be created directly, either using direct LAN access to the datafile folder on the server (connecting as single user) and initialising the system as above, or alternatively by manually creating the datafile locally and then copying it across to the server folder before Language Swap initialisation. In the latter case use File – Advanced – Create New Datafile, and when the file is created then rename it to ensure the suffix is .lsw, and that the .df1 suffix is removed.

Before accessing Vision again through the ODB, an additional entry must also be made to the config.xml file in the root folder of the ODB installation on the server, and the Terminal Options for each terminal installation of Vision must be modified to suit (as with Keyword and Linked File system datafiles) . For example, depending on existing configuration and datafile paths and names, the omnis.cfg additional entry may look like this: -

  <dict>
    <key>ODBDataBaseDesc</key>
      <string>  (Do Not Open) MyData LangSwap Datafile</string>
    <key>ODBDataBaseName</key>
      <string>MyDataLang</string>
    <key>ODBDataBasePath</key>
      <array>
        <string>V:\VisionDataFiles\MyData.lsw</string>
      </array>
  </dict>

and the corresponding Terminal Option under File – Preferences – Terminal Options would be something like: -

Terminal Settings

For general ODB help see: Data Files and the Omnis Data Bridge.

Paul Wilson - Caliach Consultant