Handler - CreationStamp
CreationStamp handler creates a timestamp indicating the date/time when the data card was created or last saved. The attribute field of the handler gets automatically stamped according to the defined metadata settings.
CreationStamp and CreatorStamp attributes with handlers:

Typically, CreationStamp handler is used to save the data card's creation time, but with metadata settings you can specify the attribute behavior further. You can, for instance, create an attribute, whose value will be generated when the data card is created but not updated after the creation. Together with that, you can create another attribute whose value will be updated every time the data card is saved. With metadata settings you can select if timestamp is created when a data card edit is started from user interface or when the data card is saved at server.
Integrations or other imports must not set values for attributes with CreationStamp.
The following tables provide information on the attribute settings and metadata requirements for CreationStamp handler. To function as intended, the handler does not require any metadata but you can extend the handler behaviour with an optional metadata presented in a corresponding table. In addition, the table provides proposals for possible metadata values.
Table 1. Attribute Settings
| Handler name | Datatype |
|---|---|
CreationStamp |
Date or date and time |
Table 2. Required Attribute Metadata
| Name | Value | Description |
|---|---|---|
Update value |
on/off |
If set on, the attribute value will be updated always when the data card is saved. Default is off. |
Exclude attributes |
[attributecode]; [attributecode]... |
This metadata is valid only, when An example: This kind of configuration is recommended, when the handler is a part of automatically opening reference. Otherwise the value of this attribute is changed when the referring data card is being edited. |
alwaysExecute |
true/false |
If this is true, this handler will be executed as root-permission when the data card is saved. Otherwise value is stored or updated only if user has permission to the attribute. Default is false. |
Accept user interface value |
on/off |
If set on the value is taken from user interface. This value is set when user creates a new data card (clicks " If set |
Table of Contents