I am looking for idea on how I can display tags from one folder when value is true:
Folder Name = Andon_Screen #Tags
Zone 1
Motor X
Motor Y
Temp_Tank
Temp_Comp
...
I like to create ANDON screen where tags name is displayed where tags are true. I have done it by using Transaction Group and Block Update. But this solution is too slow and not always working properly. I used sub_view and then template repeater to query the tags with values true from SQL. So I am looking for similar solution in Perspective, but I like to eliminate SQL at all.
So if there is only 2 tags with true values then screen with display 2 big labels, but when there will be more than 4 then it will display 2 rows with 2 columns with smaller labels on the screens.
See example below:
These two posts should help point you in a direction for looking through your tags to find the ones with a value of 'true' and add them to a flex repeater.
For the sizing, turn on wrap in the flex repeater properties and set the props.elementPosition to {grow: 1, shrink: 0, basis: 100px} Tweak the value of basis in there to control the minimum size of the boxes(instances).