Hiding a component if a tag does not exist

I am building a template that will use two slightly different UDTs when placed in a window. One of the UDTs will not have a tag and I want to hide a component that is bound to the tag if it does not exist. Is there an easy way to do this?


a tag that doesnt exist will report 404 as the quality code. so build your expression on the components enabled/visible property binding to be:
if(tagpath.quality = 404, 0,1)

Thanks. This worked:

if({Heat Cool Zone.Progress Bar 1.dataQuality} = 404, 0, 1)

where Heat Cool Zone.Progress Bar 1 is the path of the object.