Indirect address in Embedded View

I have a visibility binding for a pipe link such that…

If the LinkState of its associated tag is true, then I want the pipe link to be visible. If the LinkState of the associated tag is false, then I want the pipe link to be visible and blinking.

I was able to accomplish this when using direct addressing using the following configuration…

I attempted to duplicate this in an application where the tagpath and the blink tag use indirect addressing. The primary view contains custom parameters…

A screenshot of a computer  AI-generated content may be incorrect.

That are passed to an EmbeddedView on a tab of a TabContainer…

The view to be embedded is configure for the two parameters…

Reusing the logic from the application with direct addressing did not work…

What is the best way to accomplish this?

Make custom properties (and set them to private) on the view you are embedding. Then create indirect tag bindings on these properties for the values you need from tags, one property per tag value you wish to pull in. In your visibility expression, use the view custom properties in place of the tag. Your visibility expression would look something like:

(!{view.custom.linkState} && {view.params.Blink_1Sec}) || {view.custom.linkState} 
2 Likes