cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

State definition is showing value instead Display String

egolindano
7-Bedrock

State definition is showing value instead Display String

Hi. Im trying to display a label based on a state. To achieve this I decided to create the next State Definition;

 

(Check attached image 1)

 

In the mashup that shows the value (with a ValueDisplay) I specify the state definition in the valueformat.

 

(Check attached image 2)

 

But, even when i do this, in the mashup still showing the value instead the Display String..  I also defined the labels on the widget, but it doesn't change anything..

 

Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:egolindano)

That display string probably would work for the 'button bar' but doesn't work in general for state based definitions.

So you may have to create images per state that show/read the way you want.

View solution in original post

2 REPLIES 2
PaiChung
22-Sapphire I
(To:egolindano)

That display string probably would work for the 'button bar' but doesn't work in general for state based definitions.

So you may have to create images per state that show/read the way you want.

slangley
23-Emerald II
(To:PaiChung)

Hi @egolindano.

 

If the response provided by @PaiChung answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Top Tags