Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Select in Field action

I have a parameter (Items) containing the following values:

Apple, Orange, Table, Chair, Banana, Kiwi, Pen

I want to add a button + an action that that will select all those values except for Table and Chair.

Can someone please help with how I can achieve that? If at all possible?

Thanks,

Amit

1 Solution

Accepted Solutions
stigchel
Partner - Master
Partner - Master

use for search expression

='('&Concat({<Items=-{'Table','Chair'}>} DISTINCT Items,'|')&')'

View solution in original post

9 Replies
sunny_talwar

May be this as the search string

("Apple"|"Orange"|"Banana"|"Kiwi"|"Pen")

Not applicable
Author

I know this can be done but I was looking for something more generic in cases where I have a long list and I need to exclude only a few.

Not applicable
Author

I think I found the answer

Basically it's 2 actions and the order is important.

Select in Field - Items

(Table|Chair)

Select Excluded - Items

Does anyone else have any better suggestions?

stigchel
Partner - Master
Partner - Master

use for search expression

='('&Concat({<Items=-{'Table','Chair'}>} DISTINCT Items,'|')&')'

stigchel
Partner - Master
Partner - Master

Example attached

sunny_talwar

Look at stigchel‌'s response

Not applicable
Author

Hi,

You have to add "select in field" to button actions.

Your field should be "Items" and search string will be (Apple|Orange|Banana|Kiwi|Pen).

Hope it helps!


11.PNG

Not applicable
Author

Thank you!!!!

stigchel
Partner - Master
Partner - Master

You're welcome