...
- define - create this property/field (mostly useful as a property), give it the value specified. Handy for renaming fields
- define_if_not_defined - create this property and set this value, but only if it does not already exist. This functionality could be expressed in a calculation but this is faster
- calculation - calculate the value of this property/field, variables include any property/field, prepended with $. Properties can not access field data, fields can access properties. Any perl can be put in here, just needs to return a value (and not have circular references).
Not really renaming, but defining a second virtual field that has the same value (but different name) as an existing field. Renaming field example:
Code Block |
---|
'fields' => [
{
name => 'hrProcesses',
display_suffix => ' processes'
}
],
'virtual_fields' => [
{
name => 'hrSystemProcesses',
operation => 'define',
value => '$hrProcesses',
},
] |