Page 1 of 1

AlarmGroup - 'Displayed group name'

PostPosted: Mon 02. Sep 2024 12:23:54
by roman66
Hi,
Problems only with showing in Alarm panel, calling with default Toolbar button 'ALARMS' in local and web client.
if i put in AlarmGroup - 'Displayed group name' field any word - its showing correctly.
If i put makro: $.expr("pMe.Parent.Name") - in Alarm panel shows expr.err.

in client 'Info window' expression showing correctly.

Re: AlarmGroup - 'Displayed group name'

PostPosted: Tue 17. Sep 2024 8:30:20
by Tomáš Bräuer
Hi,
sorry for late answer because of my holiday.
You are right, the macro expression in this one configurator Displayed name (Title) has several internal uses.
And in one of them (in method Pm.FindViewers) the parameter pMe was not allowed.
This omission is there since the very beginning of this method (Promotic 8.0.0 , 15 years ago).
Nobody noticed because most common use of this Displayed name configurator is macro expression containing $.text not $.expr.

But definitely an omission. I already fixed it and it will be in the next release of Promotic 9.0.30 but the next version is planned in a few months.
If you need this fix immediately, contact me with email, we would be able to send you a testing version with this fix.

Thank You for finding an error!