Forum › Is there any way to filter a drowndown with Entity Type source based on array? › Reply To: Is there any way to filter a drowndown with Entity Type source based on array?
18. April 2024 at 14:16
#804
Participant
Hi Kathy,
There are two ways to handle this.
1. Use an expression with $[Array].toString().replaceAll(‘,’,’||’) and then use the expression for the filter.
2. Use an expression with $[Array].toString(). Add another expression to replace the commas in the first expression value with the logical OR. It would look like this $[Expression].replaceAll(‘,’,’||’) and then use the expression for the filter.
The comma gets replaced with the logical OR and the filtering works.
BR
Daniela