cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
sdresche
Level: Powered On

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
Dual Super User
Dual Super User

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
Dual Super User
Dual Super User

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,734)