Hi Dojo
Given that we know the DMAID and EID on an automation script, how can we find the DMAID/EID of the parent element via the automation script?
Hi Elvio,
With this snippet you can find fid the parent element.
Element e= engine.FindElement("DVE_E.1");
if (e.RawInfo.IsDynamicElement)
{
engine.GenerateInformation(${e.RawInfo.DveParentDmaId}/{.RawInfo.DveParentElementId}");
}
note: This is an internal call and we do not recommend using this, as it is not officially supported and we cannot guarantee that it will still work in the future. As a rule, you should avoid using SLNet calls, as these are subject to change without notice.
Regards,
Hi Klaas,
The engine is an object provided to scripts to interact with DataMiner, it may or may not be using SLNet calls under the hood, but it should work regardless. do not believe this is the equivalent to using SLNet calls in your script.