Update ItemValue

Hi,

I have a ng-if statement. And I would like to update a ItemValue if that ng-if statement is true. What is the command to do that in a widget?

I can do it with a ng-click and then a sendCmd(‘ITEMVALUE’, ‘VALUE’). But I wint it to happen automatically.

Thanks

Regards

Claus

Hi, that’s not possible I think.
If you ultimately want to react to item state changes, a server rule is more appropriate.

Hi ysc,

Ok, do you know how I split this string in a rule:

streng: “FirstWord,SecondWord,LastWord” and I would like to check on the “FirstWork” in the string in the rule?

Thanks

Regards

Claus

No, never did this, but other people did: