1

I know I can filter a SharePoint list by adding ?FilterField1=fieldname&FilterValue1=value to the URL. Microsoft's documentation also lists a property FilterOperator1 that you can use if you want an operator other than equals.

However, if I add &FilterOperator1=Lt to the query string, I just get an error. How do I specify this property?

2

You need to call it FilterOp1 in the URL.

e.g. for less-than: ?FilterField1=fieldname&FilterValue1=value&FilterOp1=Lt

MSDN has the full list of operators.

  • Spent ages googling this before finding an example in another question. This seems to be completely undocumented. – John Fouhy Jun 16 '13 at 22:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.