assetCommand
Return this effect to apply an asset command from hooks that supports it.
Type
filtrera
{
effect: 'assetCommand'
type: text // Command type
// Additional command properties are added here
}Asset Commands
| addActivityLog | Adds an activity log to an Asset |
| addTag | Adds a tag to an Asset |
| createItem | Adds a new Asset Item to a Asset |
| createItemRelation | Adds a new graph node relation to a Asset Item |
| createRelation | Adds a new graph node relation to a Asset |
| deleteItem | Removes an Asset Item from an Asset |
| deleteItemRelation | Removes a graph node relation from a Asset Item |
| deleteRelation | Removes a graph node relation from a Asset |
| generateAssetNumberByPrefix | Generates an asset number for an Asset based on the given prefix |
| removeTag | Removes a tag from an Asset |
| setDynamicFields | Sets dynamic fields of an asset. Non specified fields will be left unchanged. Set value to null to remove field. |
| setItemDynamicFields | Sets dynamic fields of an asset item. Non specified fields will be left unchanged. Set value to null to remove field. |