Skip to main content

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

- assetIdInteger
- attributeNameInteger
- tagPathString

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)