Skip to main content
Oct 30, 2019 5:04 AM UTC
Question

State formatting

I,m using Thingworx trail version 8.4, when using shape, value display, grid widget Renderer and State,  State Formating not working,  it says like "Must bind data to the property "Data" before configuring "ShapeFormatter"",  

6 replies

Oct 30, 2019 12:27 PM UTC

Did you verify that you have data bound to the Widget?

ie A service or something on the mashup with information to display or drive that widget is bound from service or  'source' to widget 'target'

monAuthor
Oct 30, 2019 12:57 PM UTC

Yes, i have bound numeric data from GetPropertyValues  to Shape widget Data, tryed also string, boolean data too.

even i follow this tutorial https://developer.thingworx.com/en/resources/guides/styles-and-states/create-and-implement-state-definitions

when click the State Formatting, it says "Must bind data to the property "Data".

Oct 30, 2019 3:42 PM UTC

GetPropertyValues is an infotable result I believe and you can't bind that whole table to the Shape widget.

Did you bind a single field from that then to the widget?

Do you see the 'Data' Property binding arrow filled in black?