| To create resource filesTo create a resource file, you must first create an initial,
empty, resource file on the LN server. Subsequently, you must complete the resource file in the Infor LN Reporting Studio. Istruzione 1. Create an initial resource fileTo create an initial resource file, complete the following
steps: - Start the Additional Files (ttadv2570m000) session. Ensure you select the correct development VRC
as your current package VRC.
- Click New.
The File aggiuntivo (ttadv2170s000) details session starts.
- Enter the properties for the resource file:
- Enter the module code.
- In the Additional File 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.
- Click Save. A message
indicating the file does not yet exist is displayed. You are prompted to create
the file.
- To create the file, click Yes. A text editor starts.
- Close the text editor and do not enter any text.
- Close the details session and overview session.
The initial resource file is stored in the additional files
folder and has a ".properties" filename extension. Istruzione 2. Transfer the resource file to your client PCBefore 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: - Start the Additional Files (ttadv2570m000) session.
- Select the resource file and, on the Visualizzazioni, Riferimenti o Azioni menu, click Export RPT file.... The Export/import RPT file dialog appears.
- 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.
- Click Continue to transfer the resource
file.
- Import the resource file into the Eclipse
workspace.
Istruzione 3. Edit the resource file- Start Reporting Studio and open the resource file.
- In the file, enter the resource keys and their values for
the language and country concerned.
For details, refer to the Reporting Studio documentation. Istruzione 4. Upload the resource file into the LN data
dictionaryWhen you have completed a resource file, you must upload the
file into the data dictionary on the LN server. To upload a resource file, complete the following
steps: - Start the Additional Files (ttadv2570m000) session.
- Select the resource file concerned and, on the Visualizzazioni, Riferimenti o Azioni menu, click Import RPT file.... The Export/import RPT file dialog appears.
- In the Import from field, enter the
directory and file name of the exported/checked-out resource file on your
client PC.
- 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. | |