0

I am filtering sharepoint list using query string for some reson i need to check condition like FieldValue!=Red is that possible to achive?

Or still its limitation?

Lists/Tasks/Task%20Summary.aspx?FilterName=EYHealthIndicator&FilterMultiValue=Red;Yellow&&FilterField2=ContentType&FilterValue2!=Task

1

No there is no support for that in with standard SharePoint

The standard only specify that everything between '?' and '#' or end-of-url is the query string, but it's commonly aggreed that the format of the query string is 'ParamName=value[&ParamName=value]...', so the '=' in the querystring isn't specifying a condition it's only separating the parametername and the value

  • Do we have any other option to do this?. Also if i have two different content type is there any problem filtering the list?Task is filtering properly and i have one more contentype called taskfolder(Folder) its not filtering anyway... – TinTin May 16 '12 at 6:36
  • You can only filter on equals, but you can limit your Task Summary view to only show Tasks – Per Jakobsen May 16 '12 at 6:50
  • In my view i have both task and Summarytask,But its not filtering Summarytask it filters only task. Even the filed i am using to filter is different and its common to both xummary task. – TinTin May 16 '12 at 6:57
0

As mentioned in the dupe question on Stack Overflow

You can't AFAIK.

The workaround MAY be to create a calculated column and then filter on that.

E.g. create a column called "Not-Red" with formula

=IF([YOUR_COLUMN_NAME]="Red","False","True")

Then filter

?FilterField1=Not-Red&FilterValue2=True

0

try

Lists/Tasks/Task%20Summary.aspx?FilterName=EYHealthIndicator&FilterMultiValue=Red;Yellow&&FilterField2=ContentType&FilterValue2=Task&FilterOp2=Neq

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.