Skip to main content

system.kanoa.asset.getParentAsset(assetTypeName, assetPath)

Returns the parent asset of the given type for the given asset


Parameters

assetTypeName String: Name of the asset type
assetPath String: path of the asset


Returns

assetData pyDataset


Example

assetTypeName = 'site'
assetPath = 'Kanoa Industries\Adelaide Hills\Packaging\Line 1'
parentAssetData = system.kanoa.asset.getParentAsset(assetTypeName, assetPath)