I am trying to hide a shape based on a value from a parameter, but the "Hide" is not working.
The condition in question is verifying if a parameter has a value of 100003, and the condition is defined in the following way:
"<A>-A|Element:[this element]|Parameter: 5511,[parenttableindex]|100003|DefaultReturnValue=False"
If I use this condition with the "Show" or with the "Blink" shape data field type, it works, but with Hide, it doesn't.
When using "Show", the shape starts hidden, but once it gets "Shown" it never hides again, even if the condition gets false.
When using "Blink", if the condition is true, the shape is always blinking, and when the condition is false, it stops blinking, so everything seems to be right.
I also assign the text of the shape to show me the value of the parameter, and it seems to be the correct one.
If instead of my condition, I use: "Hide", with value 1, then the shape gets hidden. This seems to be a bug of some sort.
Is this a known issue, or am I doing something wrong?
Thank you
Hi
This is indeed strange behavior. I have attempted to create a similar setup and it works as expected.
What would be the values that you would expect to be resolved for [this element] and [parenttableindex]?
Hi Klaas,
On [this element] I wanted the element information. I tried also with [this elementID].
On [parenttableindex] I was looking to get the index of the current row. I confirmed that this value was correct.
I seemed to managed to fix this problem by using the |Value| as following:
-A|Value|[param:[this elementID], 5511,[parenttableindex]]|!=”100003″|DefaultReturnValue=False
This, however, seems to not work for string columns, which I do need for other columns.