Hello,
I need to to identify if there is a view with a specific name within the parent's tree of an element. The need is to traverse the tree from the leaf node up to the root looking for a matching.
If an element A is attached to the views WI002 and TVE, and we want to check if one of the parents' nodes contains "Platform", the script needs to analyze the following walk "WI002->Platform->iNOC" and "TVE->IPVS".
I've tried with this code
but I’ve back only WI002 and TVE.
Could you please share with me a code snippet to implement this logic?
Thanks
Simone
Hi Tom,
many thanks for your answer. I've tried the code but I've got the following error: "'Engine' does not contain a definition for 'GetDms'".
My Dataminer version is the 10.2. I'm using the namespace 'Skyline.DataMiner.Automation', I've tried also with ' Skyline.DataMiner.Library.Automation' but I've got an error saying that the namespace name 'Library' doesn't exist in Skyline.DataMiner.
Could you please help me on this?
Thanks