Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
I have a service returns string "Alarm"/ "Healthy"/ "Error".
I want to display these string and change color based on state.
I made a state definition and binded service result to value display - data.
Now, I open "ValueFormat" but don't know how to assign state definition. How to do it?
My TWX version is 8.5.0
Thanks.
Solved! Go to Solution.
Hello @Toshihiko,
Just in case if you can't find a proper solution, then there's an ugly, but rather efficient and simple workaround -- you can create three value displays styled differently and manipulate their visibility via three validators or expressions.
Regards,
Constantine
Hi,
Seems a defect, I cannot see State-base formatting for Value Display in 8.5.3.
I still need to test in 8.5.4
Raluca Edu
Hi,
I can confirm this is a defect and it was already reported. For the moment, we do not have a fix version.
Reference article: https://www.ptc.com/en/support/article/CS317147
Thanks,
Raluca Edu
Hello @Toshihiko,
Just in case if you can't find a proper solution, then there's an ugly, but rather efficient and simple workaround -- you can create three value displays styled differently and manipulate their visibility via three validators or expressions.
Regards,
Constantine
Thanks @Constantine, yes it's ugly but will do in the way you suggested for now...