Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question

3 Answers 3

up vote 1 down vote accepted

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

share|improve this answer
    
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... –  MarsMan 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. –  MarsMan May 16 '12 at 6:57

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

share|improve this answer

try

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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