Set the locale for InForm 4.6 sites and users

Previous Topic

Next Topic

Book Contents

Set the locale for InForm 4.6 sites and users

Note: This step is required only when you migrate InForm 4.6 studies to the InForm 6.1.1.2 release.

InForm 5.0, 5.5, 6.0, and 6.1 studies have locale attributes associated with sites and users, but InForm 4.6 studies do not. When you migrate studies from the InForm 4.6 release to the InForm 6.1.1.2 release, these properties must be added to existing sites and users.

  1. Open the UpgradeSitesAndUsers.xml file you created when you ran ImportMigrationFiles.cmd, and check the site MedML definitions for warnings on the TIMEZONE attribute.

    If the Time Zone specified for a site in the InForm 4.6 study does not match the time zones defined for the operating system on the InForm application server, the MedML for the given site contains a warning for the TIMEZONE attribute along with the original Time Zone.

  2. If a warning appears, change the TIMEZONE attribute to a valid Time Zone key name in the InForm server registry before proceeding to the next step.

    Time Zones are located at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones in the registry.

  3. Ensure the XML file is well formed after the changes.
  4. Run UpgradeSitesAndUsers.cmd (located in the <InstallationDirectory>\InForm\Bin\DBOra folder) to install UpgradeSitesAndUsers.xml, using the following syntax:

    UpgradeSitesAndUsers.cmd <TrialName>

    where:

    • TrialName—The name of the study being migrated.

    For example, run the following command to upgrade study PFST46:

    UpgradeSitesAndUsers.cmd PFST46

    The UpgradeSitesAndUsers command sets the product locale and study locale of all users except the system user to en-US. Similarly, all sites have site locale set to en-US and the User Name Order property set to F (given name), L (surname).

    After you successfully run the UpgradeSitesandUsers command, delete the UpgradeSitesAndUsers.xml file from <InstallationDirectory>\InForm\XMLBase folder.

Copyright © 2014, 2017 Oracle and/or its affiliates. All rights reserved.