I am trying to hide a button based on the values in an array. For example, I want to filter and search a specific field in the array, qtyShipped. Then if there is a 0 in any of the values for qtyShipped.
How would I go about querying this on the front end?
You could use a .where() formatter to get all objects that have a 0 in the property qtyShipped, and then use .count() formatter to get the number of objects, and then use a > 0 condition to hide if true.
That OR condition complicates things. You might want to pre-process the data somehow, e.g. by using a Repeat step and then use a Set Value with the .default(0) formatter on that property