Development > Utilities > Folders > Folder import 

The folder management stores the configuration parameters 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.

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 parameters 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

A single dialogue screen appears on launching this function.

Entry screen

Presentation

The name of the folder that contains the configuration parameters that are to be imported should be entered and validated. The import is then carried out.

Close

 

Fields

The following fields are present on this tab :

  • Folder (field DOSSIER)

Define the code of the folder in which the work will be carried out (such as it is defined in the table of the folders).

Close

 

Batch task

This function can be executed in batch mode, but no dedicated standard task is delivered to execute 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