Hello,
I have a gridField which reads the data from a CDT.
What is the best solution filtering the data having the operator "includes" and use multiple filters?
Thank you!
Discussion posts and replies are publicly visible
a!localVariables( local!array:{ a!map( field1:"brian", field2:1 ), a!map( field1:"bb", field2:2 ), a!map( field1:"cc", field2:3 ) }, a!forEach( items:local!array, expression: if( and(like(fv!item.field1,"*ian"),fv!item.field2=1), /* any number of conditions can be added*/ fv!item, {} ) ) )
I have tried and it doesn't work because i use that data for the grid