Skip to main content
16-Pearl
June 22, 2021
Solved

ValueFormat option for Value Display widged

  • June 22, 2021
  • 1 reply
  • 1994 views

I have thingworx 8.5.9

the (old) legacy widget Value Display allows to specify the Render and also Style for the formatting options

iguerra_0-1624350384419.png

 

The new Value Display has instead only the Render option, so I cannot change the style using state-based formatting using a state definition.

iguerra_1-1624350407484.png

 

State was very useful because I can change color, or show a picture based on the incoming value ... but I cannot do this with the new Value Display.

 

I have now to use an expression widget to show a particular picture based on the value ... so the state-definitions are much les useful now ..

 

Is there a different way ?

Best answer by abjain

@iguerra : Please have a look at this community post where this has been answered ( https://community.ptc.com/t5/ThingWorx-Developers/Value-Display-State-Formatting-TW-8-5-0-b12/td-p/664021 ).

Now as per latest release , state based formatting has been added back to new value display widget from thingworx 9.1.0

1 reply

abjain15-MoonstoneAnswer
15-Moonstone
June 22, 2021

@iguerra : Please have a look at this community post where this has been answered ( https://community.ptc.com/t5/ThingWorx-Developers/Value-Display-State-Formatting-TW-8-5-0-b12/td-p/664021 ).

Now as per latest release , state based formatting has been added back to new value display widget from thingworx 9.1.0

iguerra16-PearlAuthor
16-Pearl
June 22, 2021

Thanks

however the answer was to use an expression ... and this is what we are using (but with an image widget)

 

From that post I read that the old value display is still present on 9.0 .... do you know if the "legacy" widgets are still available on thingworx 9.1+ or are definitely removed?

 

 

15-Moonstone
June 22, 2021

@iguerra : Legacy value display widget is still available in 9.1