Skip to content
← Back to Index

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

addActivityLogAdds an activity log to an Asset
addTagAdds a tag to an Asset
createItemAdds a new Asset Item to a Asset
createItemRelationAdds a new graph node relation to a Asset Item
createRelationAdds a new graph node relation to a Asset
deleteItemRemoves an Asset Item from an Asset
deleteItemRelationRemoves a graph node relation from a Asset Item
deleteRelationRemoves a graph node relation from a Asset
generateAssetNumberByPrefixGenerates an asset number for an Asset based on the given prefix
removeTagRemoves a tag from an Asset
setDynamicFieldsSets dynamic fields of an asset. Non specified fields will be left unchanged. Set value to null to remove field.
setItemDynamicFieldsSets dynamic fields of an asset item. Non specified fields will be left unchanged. Set value to null to remove field.

© 2024 Hantera AB. All rights reserved.