...
...
...
...
...
...
...
...
...
...
...
...
...
Excerpt |
---|
The AssignTagboxItemsAction assigns a specific tagbox item to the tagbox field specified e.g. update copyright holders with creators from Dublin Core. This requires the layer where the field isfield is found to be assigned already, therefore combine with "AssignLayerAction" and/or "LayerAssignedCondition". |
Note |
---|
The Business Rules are not executed after one another. If one Business Rule assigns a Layer and another assigns the value, it can happen that this does not work as the Business Rule Engine may first try to assign the value when the layer is not yet assigned. |
...
Tip |
---|
The AssignValueAction could be used for tagbox values too, but only for single value tagboxes. |
Specific Definitions
Property | Value | ||||
kind | AssignTagboxItemsAction | ||||
path | The path to the field which may be the LayerId. | ||||
fieldId | The ID of a tagbox field, the value should be inserted in. | ||||
refIds | A list of refIds of the items that should be assigned, either as list of refIds or as variable.
| ||||
replace | Indicates whether existing values should be replaced. Note: for multi fieldsets and relations, this setting controls, if the value is added to the already existing values or if the existing values shall be overwritten. |
Code Block |
---|
"actions": [ { "kind": "AssignTagboxItemsAction", "path": "CopyrightInformation", "fieldId": "copyrightHolder", "refIds": "$myVariable$", "replace": true } ], |
...