To create resource files

To create a resource file, you must first create an initial, empty, resource file on the Infor LN server. Subsequently, you must complete the resource file in the Infor Reporting Studio.

Etape 1. Create an initial resource file

To create an initial resource file, complete the following steps:

  1. Start the Additional Files (ttadv2570m000) session. Ensure you select the correct development VRC as your current package VRC.
  2. Click New. The Fichier supplémentaire (ttadv2170s000) details session starts.
  3. Enter the properties for the resource file:
    • Enter the module code.
    • In the Fichier supplémentaire field, enter the name of the new resource file. The name must have the following structure: <filename>_<ISO 639 language code>_<ISO 3166 country code>.properties. For example: MyResource_en_US.properties. Note: Use the same language – country codes as Web UI does.
    • In the Additional File Description field, enter a description.
    • Select the Editable check box.
  4. Click Save. A message indicating the file does not yet exist is displayed. You are prompted to create the file.
  5. To create the file, click Yes. A text editor starts.
  6. Close the text editor and do not enter any text.
  7. Close the details session and overview session.

The initial resource file is stored in the additional files folder and has a ".properties" filename extension.

Etape 2. Transfer the resource file to your client PC

Before you can edit a resource file in Reporting Studio, you must transfer the file to your client PC.

To transfer a resource file to your client PC, complete the following steps:

  1. Start the Additional Files (ttadv2570m000) session.
  2. Select the resource file and, on the Vues, Références ou Actions menu, click Export RPT file.... The Export/import RPT file dialog appears.
  3. In the Export to field, enter the destination directory and file name. The default export destination is the ${BSE_TMP} directory on your client PC.
  4. Click Continue to transfer the resource file.
  5. Import the resource file into the Eclipse workspace.
Etape 3. Edit the resource file
  1. Start Reporting Studio and open the resource file.
  2. In the file, enter the resource keys and their values for the language and country concerned.

For details, refer to the Reporting Studio documentation.

Etape 4. Upload the resource file into the Infor LN data dictionary

When you have completed a resource file, you must upload the file into the data dictionary on the Infor LN server.

To upload a resource file, complete the following steps:

  1. Start the Additional Files (ttadv2570m000) session.
  2. Select the resource file concerned and, on the Vues, Références ou Actions menu, click Import RPT file.... The Export/import RPT file dialog appears.
  3. In the Import from field, enter the directory and file name of the exported/checked-out resource file on your client PC.
  4. To import the resource file, click Continue.
To link a resource file to a report design

To use the resources defined in a resource file, you must link the resource file to your reports. For details, refer to the Reporting Studio documentation.