Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...


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 is

field 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

PropertyValue
kind

AssignTagboxItemsAction

path

The path to the field which may be the LayerId.

Check the documentation for accessing fields for details

fieldId

The ID of a tagbox field, the value should be inserted in.

Check the documentation for details on tagboxes.

refIds

A list of refIds of the items that should be assigned, either as list of refIds or as variable. 

Code Block
"$myStoreInVariable$"


Code Block
"12345", "456789"

See details on refId for List Items. 

replaceIndicates 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
	}
],

...