system.kanoa.asset.enableModeAssetLink
Description
Update the modeAssetLink enabled mode. If the mode is disabled, we will not update the link. The mode needs to be enabled first (kanoaOPS).Syntax
enableModeAssetLink(modeAssetLinkId, enabled)- modeAssetLinkId (int) - The ID of the modeAssetLink
- enabled (boolean) - Indicates whether to enable or disable the modeAssetLink
- # of records modified (int)
Code Examples
# Example Usage:
records_modified = system.kanoa.asset.enableModeAssetLink(123, True)
print(f"{records_modified} records modified for modeAssetLink with ID 123.")