cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Delegation Warning When Using "in" for Filter on Gallery

I have a list of values in a gallery that I want to filter based on a text box.

 

On start I assign the value to "" using 

 

Set(val,"")

And then whenever the text box changes I reassign val to the new value using the "On Changed" field under the advanced settings of the text box. 

 

Set(val,TB1.Text)

Under the items property of the gallery I use the equation

 

Filter(Table, val in 'Value Column')

I get a delegation warning on the "in", and if I set it to "=" instead the warning goes away. I'd like to be able to search the column for any values that contain my search string. Is there a better way of doing this to avoid the warning?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User III
Dual Super User III

Re: Delegation Warning When Using "in" for Filter on Gallery

Unfortunately, In is not a delegable operator as far as SharePoint is concerned.  The closest you can come would be StartsWith().  That is delegable, but requires that the match be at the front of the string.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
Highlighted
Dual Super User III
Dual Super User III

Re: Delegation Warning When Using "in" for Filter on Gallery

Unfortunately, In is not a delegable operator as far as SharePoint is concerned.  The closest you can come would be StartsWith().  That is delegable, but requires that the match be at the front of the string.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,118)