Fields identifiers (keys) in cards and dynamic masks notation
  • 27 Apr 2023
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Fields identifiers (keys) in cards and dynamic masks notation

  • Dark
    Light
  • PDF

Article Summary

This article applies to BOOST EMPOWER licenses

Purpose and scope

Cooperlink allows great flexibility in generating document codes, file names, version controls or exporting data in the form of Excel reports. This automatic generation is carried out through configurable masks that are explained here.

Prerequisite

For masks based on custom metadata, knowledge of the keys to this metadata is required.

Masks and Mustach notation

Base

A mask is therefore a textual description of a dynamic character string formed by the combination of information contained within Cooperlink. A mask uses:

  • fixed character strings (e.g. STATION-)
  • system fields (e.g. name, version)
  • custom fields (e.g. gare_document_type)

A mask is therefore made up of these 3 elements. The fields are surrounded by braces according to the Mustach notation:

Example: STATION-{{gare_document_type}}-{{version))

Formatting

Some data requires specific formatting. This is the case, for example, for digits that must be displayed as a fixed-size string supplemented by 0s. Formatting is achieved by adding the character ":" to the key. The string following this character defines the formatting.

DescriptionFormatExample
Formatting a fixed-width number (e.g. 001)###000{{std_building_no_fiche:##000}}
Exporting the key or label of a value to a list
(e.g. FT vs Data Sheet)
:label
:.key
{{std_building_type:key}}

Custom fields

Custom fields are referenced by the unique key that you assigned to them based on each object type. Please refer to the card configuration to find out which keys to use. See What is a card? 

System fields

Cooperlink has a database of predetermined fields as follows:

Projects

KeyDescriptionComment
nameName
IdIdentifier
< personalized>See custom fields

Workspace

Key
DescriptionComment
nameName
idIdentifier
< personalized>See custom fields

Documents

Key
DescriptionComment
base_nameFile name (without extension)
nameFile name (with extension)
idIdentifier
public_idPublic IDENTIFIER
PathPath
creation_dateDate of first creation
modification_dateDate last modified
published_on
Date of file version
typeDocument type (directory, document, ...)
ownerOwner
modification_userUser / Partner of last modification
document_codeDocumentary code
document_unique_idUnique document identifier
publication_dateDate of publicationWorkspace only
received_dateDate of receiptWorkspace only
external_nameSource nameWorkspace only
external_pathSource pathWorkspace only
sizeSize (in bytes)
current_flow_dateDate of modification of the current versionWorkspace only
current_flow_typeVersion type (audit log: received, published, checked out, deleted)Workspace only
locallinkURL link to documentWorkspace only
partnerlink.mypartnerGUIDURL link for licensed partnersmypartnerGUID is the partner ID (please see support)
< personalized>See custom fields

Workflows

Key
DescriptionComment
nameName
design_labelWorkflow template name
startdateStart dateFormat date ISO
completedateClosing dateFormat date ISO
ownerOwner
current_stepCurrent stageStep names defined in the workflow configuration
due_dateDeadline
life_statusState (current or obsolete)
last_updatedLast updated date
published_onPublish date of document version
completed_statusClosing status
target_nameAttachment name
attachment_countNumber of attachments
attachment_labelsAttachment names
markup_countNumber of markups
locallink
URL link to document
Workspace only
partnerlink. mypartnerGUID
URL link for licensed partners
mypartnerGUID is the partner ID (please see support)
< personalized>See custom fields

Response cards

Key
DescriptionComment
completeDateClosing date
completed_byUser that has completed the cardTo see partner users, GDPR compliance needs to be disabled
assigneeAssigned User / Partner
attachement_countNumber of card attachments
attachement_labelsCard attachment names
markup_countNumber of markups
due_dateDeadline
< personalized>See custom fields

Tasks

Key
DescriptionComment
idIdentifier
friendly_idUser-friendly ID
common_friendly_idCommon user-friendly identifier
titleSummary
typeTask Type
priorityTask Priority
due_dateDeadline
StatusStatus
perc_completePercentage of completion
ownerOwner
creation_dateCreation date
modification_userUser / Partner of last modification
modification_dateDate last modified
assignee_listList of assigned users and partners
parent_idParent task ID
locallink
URL link to document
Workspace only
partnerlink. mypartnerGUID
URL link for licensed partners
mypartnerGUID is the partner ID (please see support)
< personalized>See custom fields

Was this article helpful?