Hello all,
I am trying to use indirect tags choosing colours from a client tag. It actually works great, except on initial startup I get an error message and I am not sure how to fix it. Here is the error message:
Here is my expression using it:
and here is the client tag:
I'd appreciate if anyone could point me in the right direction.
First thing, don't use tag
in an expression binding on a property, it's only supposed to be used in expression tags. Instead, create a custom property for each dynamic tag and use the indirect tag binding option to bind to the tag value. From there, reference these custom properties in the expression to get your color.
Second, it looks like your expression could just be a single call to lookup
, which is extremely performant, and has a fallback option for if the value is not in the dataset.
Your corrected expression would be something along the lines of
lookup(
{[client]Appearance/Board Tracking/dryerTracking},
{path.to.custom.property.with.indirect.binding},
"0,0,0,0", "value", "color"
)
1 Like
Thank you! That works
I really appreciate your help!