4.1 KiB
{% assign title = "Record Property" %} {% assign definition = site.data.data_mine.record_property %} {% assign preposition = "a" %} {% assign plural = "s" %}
{% if include.more == "yes" and include.heading == "more" %}
Click to learn more about {{ title | downcase }}{{plural}}
{% endif %}{% if include.heading != "" and include.heading != "more" %} {{include.heading}} {{title}} {% endif %}
{% if include.icon != "no" %}
{% if include.table == "yes" and include.icon != "no" %}
{% if include.more == "yes" and include.content == "more" and include.heading != "more" %}
Click to learn more about record properties
{% endif %}{% if include.content != "no" %}
Records may have as many properties as required.
{% include important.html content="The order in which record properties are defined around the parent record definition node is the order in which they are stored in the actual record." %}
{% include tip.html content="The first two records are usually the begin and end records, featuring the corresponding datetimes that indicate when the record starts and ends." %}
{% endif %}
{% if include.more == "yes" and include.content != "more" and include.heading != "more" %}
Click to learn more about record properties
{% endif %}{% if include.adding != "" %}
{{include.adding}} Adding {{preposition}} {{title}} Node
To add a record property, select Add Record Property on the bot's node menu.
{% endif %}
{% if include.configuring != "" %}
{{include.configuring}} Configuring the {{title}}
Select Configure Property on the menu to access the configuration.
{
"codeName": "record-name",
"isString": false,
"isCalculated": true
}
-
codeNameis the name of the record as it is used in the bot's code. -
isStringdetermines if the field is a text string or if, in turn, is a numeric field. Dates are stored in the epoch format, which is numeric. The reason why this configuration is important is that fields that are strings need to be stored between "double quotes". -
isCalculateddetermines if the field is stored in the dataset or if, instead, is calculated at a later stage. A value true means that the record is not stored. In the caseisCaculatedis not defined in the configuration, it is assumed to be false.
The image above shows a record definition with four record properties.
{% endif %}
{% if include.starting != "" %}
{{include.starting}} Starting {{preposition}} {{title}}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
{% endif %}
{% if include.more == "yes" %}
