HTML templates for the keywording preview
The HTML templates are used for configuring the keywording information display of a document or folder.
Keywording preview, HTML templatesHTML templates, keywording previewThe HTML templates can be defined for each keywording form. In addition, there is a preset template that is always used when no keywording-specific template has been defined.
HTML Templates folder
Custom HTML templates must be stored in the ELO repository under Administration > HTML Templates.
HTML Templates file format
You must apply the following naming convention: defaultH
or defaultV
. The file extension is htm.
mask{Nr.}{H|V}.htm
The following applies:
- {no.}: Replace this placeholder with the keywording form ID.
- {H|V}: Replace this placeholder with
H
(= horizontal) ORV
(= vertical).
Example
mask3H.htm
Alternatively: To edit the default values for all keywording forms, store the defaultH.htm and defaultV.htm files in the ELO repository and modify them according to your requirements.
Variables
The following variables can be used in the HTML templates. They will be automatically evaluated by the ELO Java Client.
<!--ELO_T_A-->
: Filing date
<!--ELO_T_B-->
: Internal file attachment ID
<!--ELO_T_D-->
: File date
<!--ELO_T_E-->
: Owner
<!--ELO_T_I-->
: Document ID
<!--ELO_T_K-->
: Short name
<!--ELO_T_M-->
: Name of the keywording form
<!--ELO_T_O-->
: ELO object ID
<!--ELO_T_T-->
: Document type ID
<!--ELO_T_V-->
: Retention period
<!--ELO_T_D-->
: File date
<!--ELO_T_...-->
: Index field contents The (...
) placeholder must be replaced with the number of the desired index field.
<!--ELO_N_...-->
: Name of the index field The (...
) placeholder must be replaced with the number of the desired index field.
Correct syntax
To ensure that the contents of variables are displayed correctly, every code block must start with the following variable:
<!--ELO_B_...-->
: The (...
) placeholder must be replaced with the number of the desired index field or the identifier for one of the variables specified above.
The code block must end with the following variable:
<!--ELO_E_...-->
: The (...
) placeholder must be replaced with the number of the desired index field or the identifier for one of the variables specified above.
Example: Owner
<!--ELO_B_E--><tr class="odd"><th class="index"><!--ELO_N_E--></th><td class="index"><!--ELO_T_E--></tr><!--ELO_E_E-->Example: Standard variables
In the ELO Java Client – as compared to the ELO Windows Client – a number of additional variables and also information are available for display.
These are some examples of additional information that can be displayed:
<!--ELO_N_CurrentVersionName-->
: Display name of the Current version field
<!--ELO_T_CurrentVersionName-->
: Contents of the Current version field
<!--ELO_N_CurrentVersionComment-->
: Display name of the Comment field
<!--ELO_T_CurrentVersionComment-->
: Contents of the Comment field
<!--ELO_N_CurrentVersionOwner-->
: Display name of the Owner field
<!--ELO_T_CurrentVersionOwner-->
: Contents of the Owner field
<!--ELO_N_CurrentVersionDate-->
: Display name of the Version date field
<!--ELO_T_CurrentVersionDate-->
: Contents of the Version date field
<!--ELO_T_ArchivingMoen-->
: Document status (Version control disabled, Version control enabled or Non-modifiable)