I need to hide a Visio page if a parameter table does not have rows with specific values. In my case if eth0 and eth1 are not present in the following table:
Is this possible using the Hidden/Visible conditions with an Options page data field?
Hi Wieslaw,
It should be possible. See Conditionally showing or hiding a Page of a Visio drawing.
There is an example that use a use placeholders. Placeholders can be used for values on column parameters (See [param:DmaID/ElementID,ParameterID,TableRow])
Hope it helps.
Hi Wieslaw,
As far as I know, the page option doesn't allow you to combine multiple conditions. One possible alternative is to apply these conditions at shape level instead. The Show/Hide options at shape level allow you to combine multiple conditions, see https://docs.dataminer.services/develop/devguide/Visio/miscellaneous/Extended_conditional_shape_manipulation_actions.html
For example, you could overlap shapes displaying tables and show only one, depending of the conditions.
Hope it helps.
Hi Miguel,
The placeholder example works fine for a single table row.
I need to check multiple rows (e.g. if row 3 is eth0 OR row 5 is eth1, then hide the page) or ideally check the entire table dynamically without specifying row indices/keys.
I have tried different syntax as below, all without success.
Hidden=[param:*,2002,3];=eth0|Hidden=[param:*,2002,5];=eth1
Hidden=[param:*,2002,3];=eth0|[param:*,2002,5];=eth1
Hidden=[param:*,2002,3];=eth0;[param:*,2002,5];=eth1
Hidden=[param:*,2002];=eth0;=eth1
I have also tried various combinations of SubscriptionFilter/ParameterSubscriptionFilter/TableRowFilter with a placeholder like [param:*:2002,]