system.kanoa.attribute.updateAttributeAssetLink
Description
Updates an existing attribute asset link.Syntax
updateAttributeAssetLink(attrAssetInfo, userId)Parameters:
Returns:
Dictionary
| Parameter | Type | Required | Notes | 
|---|---|---|---|
| attributeAssetLinkId | int | e.g. 67 | |
| attributeId | int | e.g. 3 | |
| assetId | int | e.g. 5 | |
| sourceTagPath | string | e.g. 'some tag path' | |
| scaleFactor | float | e.g. 1.0 | |
| ignoreZeroValues | bool | e.g. True | |
| enabled | bool | e.g. True | 
Code Examples
# Example usage
attrAssetInfo = {
  'attributeAssetLinkId': 67,
  'attributeId': 3,
  'assetId': 5,
  'sourceTagPath': 'some tag path',
  'scaleFactor': 1.0,
  'ignoreZeroValues': True,
  'enabled': True
}
userId = 123
modifiedRecords, msg = system.kanoa.attribute.updateAttributeAssetLink(attrAssetInfo, userId)
print(modifiedRecords, msg)  # Print the number of modified records and message