Skip to main content

system.kanoa.asset.unlinkAssetMode

This function requires KanoaOPS module

Description

Unlinks a mode from an asset. Checks to see if this mode/asset combo has been stored in the modeEvent table and disables it if it has, otherwise deletes it (kanoaOPS).

Syntax

unlinkAssetMode(modeAssetLinkId)
  • Parameters
      modeAssetLinkId (int) - The ID of the modeAssetLink
  • Returns
      result (string) - 'Deleted' or 'Disabled'
  • Code Examples

    # Example Usage:
    result = system.kanoa.asset.unlinkAssetMode(123)
    print(f"Result: {result}")