SCADA Perspective security zones

Hi,

I want to show on panels different views in embedded view based on panels’ IP addresses. Is it possible to do it using security zones or something? E.g.: if IP is XXX.XXX.XXX.1 show view1 if IP is XXX.XXX.XXX.2 show view 2 in the embedded view.

Thank You

Of course! You just need to bind the props.path view to be some value based on session.props.host.

While I recommend against naming Views such that you have 255 different Views to display based on IP, you could do so and use an expression binding:

"MyViews/Embedded/IPLookup/View{session.props.host}”

Or you could use a property binding with a transform of some type. The Map transform seems like a good candidate, as you could lump IP ranges into a Map and determine which to use based on the host prop.

3 Likes

Thank You very much!

1 Like