When displaying a ParameterControl linked to a table cell where the index doesn't exist in the table, the value is shown as not initialized.
The situation that I have is that there are two possible entries (one or the other)
I'd like to put two ParameterControl shapes on top of each other so that the existing one is shown.
However now it shows a 'Not Initialized' value mixed with the value of the present row.
Is there a way to only show the ParameterControl shape when the row exists?
You can create a show condition that evaluates a regular expression on both shapes. This condition will hide the shape until a value is retrieved.
Example:
Element 130/140
ParameterControl 504:MyIndex
Show <A>-A|Value|[Parameter:130/140,504,MyIndex]|RegEx=.*
Note that your Visual Overview will probably display a 'Loading' indication because a certain subscription is not returning any data. You can disable loading for these shapes by adding the 'EnableLoading=False' option to the parameter control shapes.
The reason is due to the parameter type. This doesn’t work on discrete parameters. Doing the regex check on a string parameter works fine.
Because for me it doesn’t matter on which column I do a check, I just picked a different column to check if the row is present.
I believe the Regex= currently doesn’t work for double parameters so that might explain this behavior.
I’m having problems with the Regex.
When I work with ‘=value’ then it works.
When working with ‘Regex=.*’ it doesn’t work.
What could be the reason for this?