Hello,
According to the Docs after swarming is introduced the advice is to use AlarmTreeID instead of AlarmID for a lot of engine methods.
Is it possible to use the treeID as a placeholder in Hyperlinks XML?
I cant seem to find it in the Docs?
Hyperlinks.xml | DataMiner Docs
Hi Peter,
You are right, it is advised to use AlarmTreeID now.
A [TREEID] placeholder for Hyperlinks was not added yet.
AlarmTreeID is just a useful wrapper around DataMinerID/ElementID/RootAlarmID, so you can create it from other placeholder as a workaround.
For a reference to the whole alarm tree (same as TreeID)
[DMAID]/[EID]/[ROOTKEY]
or for a reference to a specific alarm within a tree
[DMAID]/[EID]/[ROOTKEY]/[ALARMID] If you are parsing this somewhere again you can recover the AlarmTreeID object by calling the following on the first string
AlarmTreeID.DeserializeFromString(input)

OK,
That will work for me!!
Thanks for the quick response!