Hello,
two mistakes in one expression:
1) Our manual clearly states that read only property PmaAlarmGroup.GroupParent returns REFERENCE to alarm group parent, but in the area MUST be a string (name), so that it can't work at all. The correct one would be
- Code: Select all
$.expr("pMe.GroupParent.GroupId")
But DON'T USE that, it is logically WRONG in any case.
2) The logic of how you used it is against the purpose of this configurator. The reason of Area in PmaAlarmGroup is to distinguish the subgroups (childs of the same parent) one from another and from parent as well. So that every PmaAlarmGroup in the same tree of parents and childs HAS TO HAVE an UNIQUE area identinficator. So it means that your construction in case it worked, would anyway lead to the same identificator as parent, which is FORBIDDEN.