Skip to main content

system.kanoa.asset.updateAssetField

This function requires KanoaOPS module

Description

Updates the field with the passed value for the assetId (kanoaOPS).

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)