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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Can I change Mashup color according to a boolean value?

fmanniti
10-Marble

Can I change Mashup color according to a boolean value?

As title asks, is it possible to bind the style of a mashup to a boolean value of a thing?
I want my mashup to be red if my_bool= false and green if my_bool=true.

1 REPLY 1
PaiChung
22-Sapphire I
(To:fmanniti)

With the use of state based formatting you can drive the color formatting of your widgets.

That can't be done with a mashup background, however you could use a contained mashup technique to swap out mashups to achieve a full mashup color change effect.

or you could use a shape but that means layering widgets and that is not responsive.

Announcements


Top Tags