| Offline Form Cache Initialization |  |
| If you already have XFE dumps, such as from a previous Online Form Cache Initialization, use the Offline Form Cache Initialization to convert these forms and (re-)initialize the form cache. Note The choices you can select in the Offline Cache Initialization Form, such as environments, package combinations, languages, packages, and modules, are determined by the contents of the selected XFE directory. This directory structure is created during Online Form Cache Initialization. For the language part of the structure, only the language code is available. The language name is not available. Therefore, when an Online Form Cache Initialization is performed, a mapping file is created. The name of this file is lcmap.properties, and the file can be found in <xfe directory>/(hostname-part) /(bse-part). If this mapping file is not present, a fallback mechanism is present, that maps code 1 to "Dutch", code 2 to "English", code 3 to "German" and code 4 to "French". Codes that lack mapping will be displayed as they are. To convert XFE files To dump the XFE files on the Infor ERP system, transfer the dumps to the Web UI server, and use the Offline Form Cache initialization to convert them, complete the following steps: Check the following conditions: Ensure you are running the correct package combination. If not, do the following: In the Infor ERP user settings, change the package combination. Convert to runtime. Log off from Infor ERP. Re-log onto Infor ERP. Ensure enough disk space is available to store the form dumps on the Infor ERP system. If you dump all Infor ERP packages in one run, you need approximately 500 MB for each language. Create a dump of the required Infor ERP forms on the Infor ERP server. On the Infor ERP system, start the Run Program command: If you logged on through WorkTop or Web UI, click Tools -> Run Program. If you logged on through BW, click File -> Run Program. Start the Dump Sessions in XML Format (ttadv2280m000) session. This takes some time. In this dump session, you can export the Infor ERP sessions in XML format. Each exported XML file contains general session data and all necessary form information. For details, refer to the session help. By default, only supported Infor ERP sessions are exported. Transfer the session dumps to the Web UI server. After you export the session dumps, use an FTP program to manually transfer the XML files from the Infor ERP server to the Web UI server. Considering the number of files, it is recommended you compress the files into an archive. This reduces the network load and saves time when transferring the files to the Web UI server. The XFE dumps are stored in a directory structure that reflects the origin of the XFE dumps. Therefore, the directory structure to store the XFE dumps in must adhere to some rules. The directory structure has the following format: <XFE root dir of your choice>/[hostname]/[BSE]/[package combination]/[language code] [hostname] - hostname of the Infor ERP system [BSE] - The value of the BSE environment variable on the Infor ERP system. [package combination] - The package combination used while creating the XFE dumps. [language code] - A numeric value that represents the language used while creating the XFE dumps. Note: Not all characters used in the above parameters are always valid as characters in a directory name. The following characters are replaced by an underscore (_): backslash (\), slash (/), colon (:) and space ( ). If these characters occur at the beginning or the end of a parameter, they are removed. For example: XFE root directory of your choice: c:\temp hostname: erpserver $BSE: /usr/erpln/bse package combination: 60sys32 language code: 2 (English) The XFE directory structure must be "c:\temp\erpserver\usr_erpln_bse\60sys32\2". If the Infor ERP LN system runs on Windows, a BSE environment variable usually consists of something similar to "e:\user\erpln". This must be converted into "e__user_erpln". Pay attention to the double underscore at the second and third position, as both the colon and the backslash must be replaced by an underscore. Follow the procedure for Offline Form Cache Initialization to convert XFE dumps. Note: If the cache already contains forms, only those forms that are older than the associated XFE dump will be regenerated. Note To move an existing form cache, complete the following steps: Open the Offline Form Cache Initialization form. Specify a new form cache directory. Click Submit.
Fields | Description
XFE directory | The location that is the root of the XFE dump directory structure. See the explanation of the Offline Form Cache Initialization process later in this section.
Log directory | The location to store the log files
Form cache directory | The location to store the form cache. Important! To confirm the location of the form cache directory, click Submit.
Baan Environment | The environment for which to initialize the form cache.
User name | The username login for that environment.
Password | Specify the password of the username to log on to the specified environment. Click Connect.
Packages and Modules | Select the package(s) and module(s), from the tree with check boxes.
Package Combination | If the Infor ERP system is connected you can supply information about available package combinations, languages, packages, and modules. Here you can select a package combination from the drop-down list. For older Infor ERP systems, the user interface displays fields that allow you to specify a consecutive range of packages only. The Online Form Cache Initialization process uses the package combination and language specified in the User Data (ttaad2500m000) session for the user that connected to the Infor ERP system.
Language code | Here you can select a Language code from the drop-down list.
Commands | Description
Connect | Click Connect to establish a connection with the selected environment. If the connection is succesful the Connect button becomes disabled
Disconnect | If the connection is succesful the Disconnect button becomes enabled.
Start | If you click Start a modal dialog appears to display the progress of the Online Form Generation process. If the cache already contains forms, only those forms older than the associated XFE dump will be regenerated. Also, some optimization takes place to reduce the number of XFE dumps that will be generated and transferred. When the Online Form Cache Initialization process has been started, the following events occur: A connection is established with the Infor ERP system as described in the selected environment, using the given username and password. A comparison, per module, between the creation dates of the forms in the cache and similar runtime objects on the Infor ERP system. If a module is found that contains outdated forms in the cache, a process is started on the Infor ERP system. This converts local session and form data for all sessions and forms in the given module into XML files, also known as XFE dumps. The XFE dumps are collected and compressed in a tar.gz file per package, and each file is transferred to the Web UI server. On the Web UI server, these tar.gz files are unpacked into the XFE Root Directory in a directory structure that reflects the origin of the XFE dumps. When the tar.gz files are unpacked, a process is started on the Web UI server. This converts the XFE dumps into Java form classes that are stored into the Form Cache.