Hello,
As title says:
How to set node comment from script?
I want to change it based on some conditition, but can't find any info in documentation.
Thanks in advance.
Regards, Grzegorz.
It's not possible to change comment from nxsl script.
As a workaround (depends on what you are trying to achieve) - you can modify custom attribute from script, then create scripted DCI (with retention time="do not save to DB") which will get value of the custom attribute - and select option to show this DCI on the overview page.
Hello Alex,
Thanks for your answer.
I want to create comment from few concatented custom attributes.
I'm trying to modify comments, because they are displayed as node tooltips on maps.
I know there is option to display DCI's last value as tooltip, but in this case DCI name is also displayed, not only last value and this is unwanted for me.
I can live with this, but tried to find better solution :).
Regards, Grzegorz.
Create feature request in the issue tracker and we'll add it
Done.
Regards, Grzegorz.
Thanks a lot for adding this feature:
NX-1558 (Add ability to change node's comment from script)
Best regards, Grzegorz.