system.kanoa.attribute.setAttributeAssetLinkFromTag(attrAssetInfo)
Check to see if the attribute exists and is linked to an asset. Called from the measure tag UDT
Parameters
attrAssetInfo Dictionary
| - assetId | Integer | |
| - attributeName | Integer | |
| - tagPath | String |
Returns
attributeAssetLinkId Integer
Example
assetId = 901
attributeName = 'British Bangers'
tagPath = '[Kanoa]Kanoa Box Co/Box Plant/Packaging/Box Line 1/Bacon'
attributeAssetLinkId = system.kanoa.attribute.addAttributeAssetLink(assetId, attributeName, tagPath)