Skip to main content

system.kanoa.asset.updateAssetField

Requires kanoaOPS license

Description

Updates the field with the passed value for the assetId.

Syntax

updateAssetField(assetId, field, value, ...)

Parameters:
  • assetId (int): Asset ID.
  • field (string): Field.
  • value (string): Value.

  • Returns:
  • records modified (int)
  • message (string)
  • Code Examples

    # Example Usage:
    assetId = 12
    field = "Name"
    value = "RedBox"
    recordsModified, message = system.kanoa.asset.updateAsset(assetId, field, value)