DPTREE systemName property broken

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
ChristianGoehring
Posts:14
Joined: Fri Feb 24, 2017 9:29 am

DPTREE systemName property broken

Post by ChristianGoehring »

Hi!

There is a problem with the DPTREE widget: the property "systemName" cannot be set via script, only via the GEDI's property editor.

Additionally if you empty the systemName property from the GEDI and try to reset it afterwards it does not accept the new value.

To recreate:
1. Create panel with DPTREE widget.
2. (optionally) Delete the systemname from the DPTREE's properties in GEDI
2. Insert the following code in the DPTREE's Initialize method:

Code: Select all

main()
{
  this.systemName = getSystemName();
  DebugTN(this.systemName); // logs [""]
}
3. Run the panel in Quicktest
4. It does not display any system name
5. (Optionally) Try to set the system name in GEDI again and retry the following code in the DPTREE's initialize method:

Code: Select all

main()
{
  DebugTN(this.systemName); // logs [""]
}
System: WINCC OA 3.15 P005

ChristianGoehring
Posts:14
Joined: Fri Feb 24, 2017 9:29 am

Re: DPTREE systemName property broken

Post by ChristianGoehring »

And I am missing a "selectedItem" function or similar (?)

2 posts • Page 1 of 1