Go to documentation repository
Page History
To open the properties window for of the Database field object object, see the Editing objects properties in the Template Editor section.
As a result the following window , a window with the properties of the corresponding object opens.
Properties of the Database field object are similar to properties of the Text object, except of for the Unusual and Predefined parameters. Purpose of these parameters are follows.
In From the Predefined drop-down list, select the a field from the database which that will be displayed in the template. Apart from In addition to the names of database fields there if , the list includes the Unusual value.
Select the Unusual value The Unusual parameter is a template string. You can select it if the template is in use for used to work with the Event Manager module operation and it 's is required to display event parameters on not the value from the database, but the parameters from the event for which the Event managerManager is configured using the Database field object. In the Unusual field this case, enter the names name of the event required parameters in the Unusual field.
Info | ||
---|---|---|
| ||
To determine You can find out the available parameters of the required event using the debug window of Axxon PSIM, generate PSIM by generating the required event in the system. Working with this window is described in the Axxon PSIM software package. Programmer's in Programming Guide (JScript) document. The latest version of this document is available in the AxxonSoft documentation repository. |
The syntax for entering parameters is as followsshown in the table:
Parameter syntax | Description |
---|---|
{parameter} | parameter is an arbitrary parameter in the event from the object |
\n | Line break in the displayed text |
\r | Carriage return in the displayed text |
{parameter} | parameter is any parameter in the event from the Axxon PSIM object |
You can specify several parameters in the Unusual template string. For example, to display the date and time of the event simultaneously, enter the following template string: Date: {date} Time: {time}. As a result, for a given event, the database field will display, for example: Date: 08-07-2019 Time: 8:00:00.
Info | ||
---|---|---|
| ||
See also Guide for configuring and working with the Event Manager integration module. |
To display the Yes or No value of the Unusual template string:
- specify the value of the field, for example, {is_locked:b} for the Locked setting. When generating a user access, the template will display Yes or No depending on the value of this setting.
You can also use a prefix that will be displayed on the template. For example, Locked {is_locked:b}. - specify the value of the field, for example, {is_apb:b} for the Antipassback setting. When generating a user access, the template will display Yes or No depending on the value of this setting.
You can also use a prefix that will be displayed on the template. For example, APB On {is_apb:b}.
Example of displaying the Antipassback and Locked Unusual fields with specified prefixes when generating an access:
You can also specify fields added by the Also it's possible to add fields created by user in the psim.ext.dbi file to the template. For this purpose , in the Unusual field, enter the name of the corresponding field from a database in the Unusual fielddatabase. Procedure The procedure of creating adding additional fields in to the database is given in described in Appendix 3. Creating additional fields for the User objectsobject.