Default values
The default values in the digui.cfg file are displayed in Dynamic Import’s interface (under the Global tab) when creating new mapping files.
- These entries contain a field label in uppercase, followed by a colon and a value.
- Each entry corresponds to a field in the header or mapping rules. For example, the Comment field in the Dynamic Import window displays the default value specified in the
COMMENT:field in the digui.cfg file. - The $DI-PROGRAMDIR variable in the distribution file(s) is replaced (by dipaths.pl) with the Contenta home directory (as stored in the registry) the first time the Dynamic Import tool is executed.
Example:
COMMENT: Generic Import Tool Specification File
WORKDIR: $DI-PROGRAMDIR/encaps/di
ATTRS: YES
CONTAINS: CHILDREN
APPDATA: YES
SLICEDATA: YES
PROPSHEET: YES
PCMLOADLOC: /Global/sysadmin/MAINCONFIG/MAINFOLDER
OMNICTRL: $DI-PROGRAMDIR/encaps/di/Tmp/omni.ctrl
OMNIOUT: $DI-PROGRAMDIR/encaps/di/Tmp/omni.out
IMPORTDTD: $DI-PROGRAMDIR/encaps/di/entities/imp.dtd
SGMLDECL: $DI-PROGRAMDIR/encaps/di/entities/Sgml.dec
SERVER: MyServerName
USER: MyUserName
OMNILIB: $DI-PROGRAMDIR/encaps/di/entities/omnilib
DATABASE: MyPcmDBase
SOCKET: 8888
DOCTYPE: Document
SECURITY: secure
XMLOPTS: DTD
parentobject: CompoundDoc
childobject: DataModule
To protect confidential files, edit the WORKDIR directory and specify a secure location for storage of temporary files during the import process.