Attribute
This table allows users to add custom attribute fields to the frePPLe data models.
The attribute fields are automatically defined in the database. They behave exactly like any other field: editing, exporting, importing, sorting, filtering… are all possible.
Note: All scenarios must have the same attribute definitions. Only the attributes defined in the production scenario are used. And only the production scenario has the attribute definition screen in its menus.
Important
After any change to the attribute definitions, the database structure needs to be altered and the web application is also automatically restarted. This can take some time, so be patient.
Field |
Type |
Description |
---|---|---|
name |
string |
Unique name of the field.
Only alphanumeric characters are allowed.
|
label |
string |
The string displayed in the user interface. This will be translated automatically to the language configured in your browser. |
type |
string |
Data type of the attribute.
Possible values are:
|
editable |
boolean |
Marks whether this field is editable.
Non-editable read-only fields are typically used to
store computed attributes or metrics.
|
initially_hidden |
boolean |
When set to false (default) the attribute is shown by
default.
When set to true users will only need to explicitly
customize the report to see the attribute.
|