I cant figure out how to bind a components visible property to a boolean tag. Im creating a template and need to be able to hide certain components based on attributes of a specific instance. Im able to bind successfully in a window but i cant get it to work on my template.
Are you passing a tag path to the template? You can use an indirect binding in the visibility property, pointing to {1}/myvisibletag where {1}=tagpath, or what i do, is create a custom property on the template, and bind that to the tagpath/visibility as an indirect. Then that custom property is available on any widget within the template. I do this usually for permissives to edit a setpoint or enable a button.
2 Likes