Athento allows you to customise the columns of the list of documents that appears in the "Documents" tab of the forms.
These configurations are available from the advanced administration of the form. Specifically, these configurations are found in "Document type table configurations" in the "Configuration" attribute.
The configuration that overwrites the default table behaviour must be specified in JSON format, in the "Configuration" attribute.
For each column to be modified, we must indicate its identifier.
The available identifiers are:
- filename: Document name column.
- lifecycle_state: Document lifecycle status column.
- state: Document status column.
- creation_date: Column for the date of creation of the document.
- serie: Document series column.
- author: Column of the author of the document.
- version: Document version column.
- UUID de un campo: The column identifier of a field is the UUID of that field.
The configuration to be defined for each column is as follows:
- title: Text that appears in the column header.
- hidden: Indicates whether to hide the column, true if you want to hide it.
- cell: Settings concerning the cell content.
- format: Formatting of cell representation. Currently only date formatting is supported.
- filter: Settings concerning the content of the filter.
- format: Formatting of cell representation. Currently only date formatting is supported.
An example of a configuration JSON is shown below:
{
"filename": {
"title": "Nombre personalizado de la columna"
},
"1de78099-362a-4c42-abf1-d067852538f8": {
"title": "Nombre personalizado de la columna de campo",
"cell": {
"format": "dd/MM/yyyy"
}
},
"creation_date": {
"hidden": true,
"filter": {
"format": "dd/MM/yyyy"
}
}
}
Format of the date type columns
The units are referenced by: dd (days), MM (months), yyyy (years), HH (hours), mm (minutes) and ss (seconds).
Comments
0 comments
Please sign in to leave a comment.