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:
    asset_id = 12
    field = "Name"
    value = "RedBox"
    records_modified, message = system.kanoa.asset.updateAsset(asset_id, field, value)