Development > Utilities > Folders > Folder import 

The folder management stores the configuration setups of a folder in the tables ADOSSIER, ADOSPAR, ADOSDIM (tables found in the X3 folder). When it is necessary to transfer a folder from one server to another, it is necessary to transfer:

  • The folder data itself (it is a user in the database)
  • The FOLDER directory that stores the processes, the menus, the screens generated from a dictionary.
  • The records corresponding to a folder in the ADOSSIER, ADOSPAR, ADOSDIM tables.
  • A sub-directory of the X3PUB directory, where the XML description of the user interface can be found.

Even though the global transfer of a database user, or a directory with all of its sub-directories, is relatively easy to be made, the transfer of part of a table is more difficult to carryout.

To ease this problem, the folder configuration setups are also stored in a PARAM.ini file located in the database directory (this double storage is only possible once the folder has been created).

In this way, once the folder is transferred to a new server, the ADOSSIER, ADOSPAR, ADOSDIM tables are updated by reading the PARAM.ini file. It is the folder import function that carries out this operation.

Screen management

Entry screen

Presentation

A window opens, it is used to enter the name of the folder which configuration parameters the user wants to import.

The import is launched upon validation.

Close

 

Fields

The following fields are present on this tab :

  • Folder (field DOSSIER)

Define the folder code, as it is defined in the folders table, in which the work will be carried out.

Close

 

Batch task

This function can be run in batch mode, but no dedicated standard task is delivered to run it.

Error messages

In addition to the generic error messages, the following messages can appear during the entry :

XXXX: Non-existent folder

The folder directory (or the PARAM.ini file that should be contained in it) does not exist.

Tables used

SEEREFERTTO Refer to documentation Implementation

Note

This function is very useful for versions prior to the 140 and useful as a utility in very specific cases (for the update of the folder's table ia a PARAM.ini file, for instance).

Globally, for folder transfers, it is recommended to use the console functions which processes all export and import procedures.